Vidyalelo
Python · Q4

Advanced OOP Concepts

Programming · Python · question 4

Q4

What is an abstract class in OOP?

A.
A class that cannot be instantiated
Answer
B.
A class with no attributes
C.
A class with only attributes
D.
A class that cannot have methods

Answer: Option A

Solution

Answer: Option A
Solution:
An abstract class cannot be instantiated and often serves as a blueprint for other classes.