A class whose objects cannot be created is known as a _______ class.
- abstract
- virtual
- static
- inline
An abstract class in C++ is a class that cannot be instantiated, meaning objects of the class cannot be created directly. Abstract classes are intended to be inherited by other classes.
Loading...
Related Quiz
- Which method will you use to write a single character to the file stream in C++?
- When a function is called recursively, each call creates a new set of the function's _______.
- In C++, an abstract class can have a mix of abstract as well as _______ methods.
- Which of the following scenarios is most suitable for using a switch-case statement?
- Considering cache efficiency, which STL container will provide the fastest element access and iteration in most cases?