Object-Oriented Programming (OOP)
Which term refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses?
- A. Class
- B. Encapsulation
- C. Polymorphism
- D. Abstract class ✓
Correct answer
D. Abstract class
Explanation
Abstract class refers to a class that cannot be instantiated on its own and may contain abstract methods to be implemented by subclasses.