Examveda
Examveda

What is an abstract class in OOP?

A. A class that cannot be instantiated

B. A class with no attributes

C. A class with only attributes

D. A class that cannot have methods

Answer: Option A

Solution(By Examveda Team)

An abstract class cannot be instantiated and often serves as a blueprint for other classes.

This Question Belongs to Python Program >> Advanced OOP Concepts

Join The Discussion

Related Questions on Advanced OOP Concepts

What is inheritance in OOP?

A. Creating new objects from existing ones

B. Allowing objects to share attributes and methods

C. Restricting access to object attributes

D. Converting classes into objects