Q.

Which of the following statements is legal in Java? (i) mysRef = (Mystery) mySecret; (ii) mysRef = (Mystery) secRef;

A. Only (i)
B. Only (ii)
C. Both (i) and (ii)
D. None of these
Answer» B. Only (ii)
2.3k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet