

MCQOPTIONS
Saved Bookmarks
1. |
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» C. Both (i) and (ii) | |