Asked by arielis reyes on May 16, 2024
Verified
An abstract class must have the modifier ___________ included in the class heading.
A) static
B) abstract
C) final
D) private
Abstract Class
A class that cannot be instantiated on its own and is designed to be subclassed, often containing abstract methods that must be implemented by subclass.
Class Modifier
A keyword in object-oriented programming languages that defines the scope or behavior of a class, such as public, final, or abstract.
- Distinguish the properties and intentions of abstract, concrete, and final classes/methods within the framework of object-oriented programming.
Verified Answer
GS
Gurdeep SinghMay 22, 2024
Final Answer :
B
Explanation :
Only the modifier "abstract" allows a class to be declared as abstract. Static refers to a specific type of member in a class, final indicates that a variable's value cannot be changed, and private specifies the access level within a class.
Learning Objectives
- Distinguish the properties and intentions of abstract, concrete, and final classes/methods within the framework of object-oriented programming.