πŸ“Š Python
Q. What is inheritance in Python?
  • (A) A way to store data
  • (B) Deriving a class from another class
  • (C) Running a program
  • (D) Allocating memory
πŸ’¬ Discuss
βœ… Correct Answer: (B) Deriving a class from another class

Explanation: Inheritance allows one class to inherit attributes and methods from another class.

Explanation by: Mr. Dubey
Inheritance allows one class to inherit attributes and methods from another class.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
81
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate