What is the official class name that should be inherited from the instance?

In OOP terms, what is the name of the class, which is always the parent and the class cannot be used by itself, it can only be used if the class inherits from it.

I don't need any code samples, just an OOP technical term for this class, thanks!

+2


source to share


4 answers


Abstract class.



+13


source


I call such a class an abstract base class.



+3


source


A class that is always a parent ... not really sure what you mean by that. I would take a hit and assume you are referencing the base class... For a class that can only be inherited from you, we think of an Abstract class .

+2


source


It can also be called a pure virtual class if it is C ++

+1


source







All Articles