How do we declare an ‘interface’ class?

Question:How do we declare an ‘interface’ class?

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++


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!