๐Ÿ“Š C++
Q. How do we declare an ‘interface’ class?
  • (A) It is not possible to create interface class in C++
  • (B) By declaring the class as interface with the keyword ‘interface’
  • (C) By making all the methods abstract using the keyword ‘abstract’ in a class
  • (D) By making all the methods pure virtual in a class
๐Ÿ’ฌ Discuss
โœ… Correct Answer: (D) By making all the methods pure virtual in a class

You must be Logged in to update hint/solution

๐Ÿ’ฌ Discussion


๐Ÿ“Š Question Analytics

๐Ÿ‘๏ธ
205
Total Visits
๐Ÿ“ฝ๏ธ
4 y ago
Published
๐ŸŽ–๏ธ
Ram Sharma
Publisher
๐Ÿ“ˆ
83%
Success Rate