A class that contains at least one pure virtual function is called a(n) _______.
- subclass
- instantiated class
- abstract class
- inherited class
An abstract class in C++ is a class that contains at least one pure virtual function. This means the class cannot be instantiated and is meant to be inherited by other classes that provide implementations for the pure virtual functions.
Loading...
Related Quiz
- What could be a reason for choosing pass by pointer over pass by reference in a function?
- Which keyword is used to define a function in C++?
- Which standard library provides predefined exception classes in C++?
- Which function is used to read a single character from a file in C++?
- When a function is called recursively, each call creates a new set of the function's _______.