Question:
12. Which of the following may legally appear as the new type (between the parentheses) in a cast
operation?
A. Abstract classes
B. Final classes
C. Primitives
D. All of the above
Answer:
12. E. Any type, including classes with any kind of modifier, may appear inside the parentheses
of a cast.
And I was wrong again, because I overlooked the E choice :-)))
No comments:
Post a Comment