Q. How do we declare an ‘interface’ class? (Solved)

1. by making all the methods pure virtual in a class

2. by making all the methods abstract using the keyword ‘abstract’ in a class

3. by declaring the class as interface with the keyword ‘interface’

4. it is not possible to create interface class in c++

  • a. by making all the methods pure virtual in a class
Subscribe Now

Get All Updates & News