11 lines
165 B
Java
11 lines
165 B
Java
public class TestMethodOverload {
|
|
|
|
public int MethodOverload() {
|
|
return 42;
|
|
}
|
|
|
|
public int MethodOverload(int a) {
|
|
return 42 + a;
|
|
}
|
|
}
|