Which of the two features match each other?
(a) Inheritance and Encapsulation
(b) Encapsulation and Polymorphism
(c) Encapsulation and Abstraction
(d) Abstraction and Polymorphism
I have been asked this question in an interview for internship.
This intriguing question originated from OOPs Basic Concepts topic in section OOPs Concept & Features of Object Oriented Programming