MCQOPTIONS
Saved Bookmarks
| 1. |
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» B. by making all the methods abstract using the keyword ‘abstract’ in a class | |