Q. The relationship between a derived class (or subclass) and base class is referred to as

  • (A) association
  • (B) inheritance
  • (C) polymorphism
  • (D) instantiation
πŸ’¬ Discuss
βœ… Correct Answer: (B) inheritance
Explanation: a derived class inherits all the attributes of a base class.

Explanation by: Mr. Dubey
a derived class inherits all the attributes of a base class.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
482
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate