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
1.8k
0
Do you find this helpful?
14

Discussion

No comments yet