JAVA
java
1
2
3
4
5
6
7
8
public class Test {
public static method1(int n, m) {
n += m; method2(3.4);
public static int method2(int n) { if (n > 0) return 1;
else if (n == 0) return 0;
else if (n < 0) return 1;
} }
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run