Open
Description
13.2.3
True or false?
a. An abstract class can be used just like a nonabstract class except that you cannot use the new operator to create an instance from the abstract class.
b. An abstract class can be extended.
c. A subclass of a nonabstract superclass cannot be abstract.
d. A subclass cannot override a concrete method in a superclass to define it as abstract.
e. An abstract method must be nonstatic.
a. True
b. True
c. False
d. False
e. True
d. False ❌
Actually, this one is True.
➡️ A subclass cannot override a concrete (non-abstract) method in a superclass and make it abstract again — that would violate inheritance rules.
So, the correct answer should be True.
Metadata
Metadata
Assignees
Labels
No labels