McqMate
| Q. |
How do we declare an abstract class? |
| A. | by providing at least one pure virtual method (function signature followed by ==0;) in a class |
| B. | by declaring at least one method abstract using the keyword ‘abstract’ in a class |
| C. | by declaring the class abstract with the keyword ‘abstract’ |
| D. | it is not possible to create abstract classes in c++ |
| Answer» A. by providing at least one pure virtual method (function signature followed by ==0;) in a class | |
View all MCQs in
Object Oriented Programming In cppNo comments yet