Java OCA OCP Practice Question 91

Question

Which of the following statements are true?

  • A. A final class must be instantiated.
  • B. A final class must contain at least one final method.
  • C. A final class must contain at least one final data field.
  • D. A final class may not be extended.
  • E. None of the above.


D.

Note

There is only one restriction on a final class: A final class may not be extended.




PreviousNext

Related