🎴 Flashcard Mode

Java and Hibernate Programming Quiz

Card1 / 20
Mastered0
Review0
QuestionClick to flip

Find the true statements, A. Final class cant be inherited. B. Abstract class cant be instantiated. C. Abstract class can be inherited.

AnswerClick to flip back
A
A,B and C
💡 Explanation:

A final class is restricted from being inherited or subclassed (A). An abstract class cannot be instantiated directly using the new keyword (B). However, abstract classes can and are intended to be inherited by concrete subclasses (C), making all statements true.

Change Mode