Kizspy | Question: 19
(Choose 1 answer)
class A {
int i, j;
A() {
What is the output of the following Java program?
i = 1;j = 2;
}
}
public class Main {
public static void main(String args[]) {
A obj1 = new A();A obj2 = new A();
System.out. println(obj1.equals(obj2));}
FUOVE
}
A. false
B. true
C. obj1.equals(obj2)
D. Runtime error