What is the benefit of using inheritance in object-oriented programming?
A. It promotes code reusability and allows the creation of a new class based on an existing class
B. It simplifies syntax
C. It reduces code size
D. It makes programs run faster
Answer: Option A

Join The Discussion