Q. Which of the following statements is legal in Java? (i) mysRef = (Mystery) mySecret; (ii) mysRef = (Mystery) secRef;
β
Correct Answer: (B)
Only (ii)
You must be Logged in to update hint/solution