

McqMate
Q. |
How do we declare an ‘interface’ class? |
A. | by making all the methods pure virtual in a class |
B. | by making all the methods abstract using the keyword ‘abstract’ in a class |
C. | by declaring the class as interface with the keyword ‘interface’ |
D. | it is not possible to create interface class in c++ |
Answer» A. by making all the methods pure virtual in a class |
View all MCQs in
Object Oriented Programming In cppNo comments yet