πŸ“Š C++
Q. How do we declare an abstract class?
  • (A) It is not possible to create abstract classes in C++
  • (B) By declaring the class abstract with the keyword ‘abstract’
  • (C) By declaring at least one method abstract using the keyword ‘abstract’ in a class
  • (D) By providing at least one pure virtual method (function signature followed by ==0;) in a class
πŸ’¬ Discuss
βœ… Correct Answer: (A) It is not possible to create abstract classes in C++

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
181
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate