public class Test {
public static void main(String[] args) {
int i = 1;
long j = 1;
if (i == 1) {
int k = 1;
if (i == k) {
System.out.println("i equals k");
}
} else if (j == k) {
System.out.println("j equals k");
}
}
}
Login in to like
Login in to comment