Which of the following statements is TRUE?
- All virtual functions in an abstract base class must be declared as pure virtual functions
- A class is made abstract by declaring it virtual
- If a base class declares a pure virtual function, all derived classes must define the function
- A derived class cannot contain a pure virtual function
Answer:
Option c: If a base class declares a pure virtual function, all derived classes must define
the function
Explanation Here
0 Comments