Which of the following OOPs concepts are supported in C++?

21. Which of the following OOPs concepts are supported in C++?

  1. Inheritance
  2. Encapsulation
  3. Abstraction
  4. Polymorphism

Opation:

  1. 1 and 2
  2. 1, 2, and 3
  3. 1, 2, and 4
  4. All 1,2,3,4

Answer: D) All 1,2,3,4

Explanation:

C++ supports the following OOPS concept:

  1. Inheritance
  2. Encapsulation
  3. Abstraction
  4. Polymorphism

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.