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