Question:

What is abstract class ?

Show Hint

An abstract class is like a blueprint or a template. You can't build a house from just a blueprint (you can't create an object from an abstract class), but you use it to create concrete houses (derived classes).
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

An abstract class is a class in an object-oriented programming language that cannot be instantiated on its own. It is designed to be used as a base class from which other classes are derived. An abstract class typically contains one or more "abstract methods," which are methods that are declared but not implemented. Derived classes must provide the implementation for these abstract methods.
Was this answer helpful?
0
0