πŸ“Š C++
Q. Which C++ feature allows a derived class to inherit members from a base class?
  • (A) Encapsulation
  • (B) Polymorphism
  • (C) Inheritance
  • (D) Abstraction
πŸ’¬ Discuss
βœ… Correct Answer: (C) Inheritance

Explanation: Inheritance allows a derived class to acquire properties and behaviors of a base class.

Explanation by: Priyanka Tomar
Inheritance allows a derived class to acquire properties and behaviors of a base class.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
80%
Success Rate