Try to guess without running the program.
Code
public class IntegerClassExampleThree {
public static void main(String[] javalatte) {
Integer i = 400;
Integer j = 400;
if(i==j){
System.out.println("i==j is equal");
}else {
System.out.println("i==j is not equal");
}
}
}
public class IntegerClassExampleFour {
public static void main(String[] javalatte) {
Integer i = 127;
Integer j = 127;
if(i==j){
System.out.println("i==j is equal");
}else {
System.out.println("i==j is not equal");
}
}
}
Copyright GeekInterview.com
Guess the output of the following program
Questions by pardeep131085 answers by pardeep131085
Related Answered Questions
Related Open Questions