MCQOPTIONS
Saved Bookmarks
| 1. |
How do we declare an 'interface' class? |
| A. | a. By making all the methods pure virtual in a class |
| B. | b. By making all the methods abstract using the keyword 'abstract' in a class |
| C. | c. By declaring the class as interface with the keyword 'interface' |
| D. | d. It is not possible to create interface class in C++ |
| Answer» B. b. By making all the methods abstract using the keyword 'abstract' in a class | |