Q81
What will be the output of the following Java program? class A int i; int j; A() i = 1; j = 2; class Output public static void main(String args[]) A obj1 = new A(); A obj2 = new A(); System.out.print(obj1.equals(obj2));
A.
false
AnswerB.
true
C.
1
D.
Compilation Error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board