There are three main concepts that any language needs to support to be an object-oriented language. Which of the following is one of them?
There are three main concepts that any language needs to support to be an object-oriented language. Which of the following is one of them?
I. Encapsulation
II. Inheritance
III. Polymorphism
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
The three pillars of object-oriented programming are encapsulation, inheritance and polymorphism, so a language must support all three.