GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com /**
*
* Method Overloading: Same name but different method signature
* */
public class Main {
public static void main(String[] args) {
add();
add(1.2f, 3.4f);
}
private static void add() {
int sum = 3 + 4;
System.out.println(sum);
}
private static void add(float a, float b) {
double sum = a + b;
System.out.println(sum);
}
}
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |