GET 65% Discount on All Products Coupon code: "bigdisc65"
Given:
What is the result?
Option A
Option B
Option C
Option D
AB
AC
CC
A ClassCastException is thrown only at line n1.
A ClassCastException is thrown only at line n2.
10 20 30 40
0 0 30 40
Compilation fails.
An exception is thrown at runtime.
Given the code fragment:
Given the code fragments:
Which code fragment, when inserted at line n1, enables the code to print Hank?
And given the code fragment:
4W 100 Auto4W 150 Manual
null 0 Auto4W 150 Manual
Compilation fails only at line n1
Compilation fails only at line n2
Compilation fails at both line n1 and line n2
Welcome Visit Count:0Welcome Visit Count: 1
Compilation fails at line n2.
Compilation fails at line n1.
Welcome Visit Count:0Welcome Visit Count: 0
And:
Which statement is true?
After line 11, three objects are eligible for garbage collection.
After line 11, two objects are eligible for garbage collection.
After line 11, one object is eligible for garbage collection.
After line 11, none of the objects are eligible for garbage collection.
TESTED 05 Feb 2025