William is working in an IT company as an application developer. He wants to create a base class A and needs to inherit the functionality in the derived classes B, C, and D. What is the concept that allows a class to inherit properties and methods from another class?
1) Polymorphism
2) Encapsulation
3) Inheritance
4) Abstraction



Answer :

Other Questions