Java OCA OCP Practice Question 539

Question

Which of the following statements is true?

  • A. An abstract class may not have any final methods.
  • B. A final class may not have any abstract methods.


B.

Note

Any class with abstract methods must itself be abstract.

A class may not be both abstract and final.

The abstract class will eventually be subclassed, and the subclass must avoid overriding the parent's final methods.




PreviousNext

Related