What is inheritance in OOPs?
A. The ability of an object to take on many forms
B. The ability of a class to be derived from another class
C. The ability of a class to contain many objects
D. The ability of a class to encapsulate its data
Answer:B
What is inheritance in OOPs?
A. The ability of an object to take on many forms B. The ability of a class to be derived from another class C. The ability of a class to contain many objects D. The ability of a class to encapsulate its data