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 the interface with the keyword ‘interface’
D. It is not possible to create interface class in C++
Answer:A
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 the interface with the keyword ‘interface’ D. It is not possible to create interface class in C++