Java OCA OCP Practice Question 237

Question

Which of the following may 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


E.

Note

Any type may appear inside the parentheses of a cast.




PreviousNext

Related