Q. Which OOP principle allows class reuse?

A
Polymorphism
B
Encapsulation
C
Inheritance
D
Abstraction
Solution:

Inheritance allows a class to reuse code from another class.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!