Vidyalelo
Python · Q29

Concept of Object Oriented Programs in Python

Programming · Python · question 29

Q29

How does inheritance promote code reusability in object-oriented programming?

A.
It allows a subclass to inherit attributes and methods from a parent class
Answer
B.
It makes code run faster
C.
It reduces code size
D.
It simplifies syntax

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board