Question discussion

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…

360013Medium DSSSB TGT Computer Science 0 replies 0 views
0
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
  • AI and II
  • BII and III
  • CI and III
  • DI, II and III
Correct answer: D

Explanation

Encapsulation, inheritance and polymorphism are the three main concepts of object-oriented programming.

Discussion 0

Nobody has replied yet. Start the discussion!