Computer Science, asked by meloyoung118, 7 months ago

State and explain the five basic concept of C++

Answers

Answered by gshanahmad8
1

C++ OOPs Concepts

Object.

Class.

Inheritance.

Polymorphism.

Abstraction.

Encapsulation.

Hope it helps you

Answered by manojrai6165
0

Answer:

C++ Basic Syntax. When we consider a C++ program, it can be defined as a collection of objects that communicate via invoking each other's methods. Let us now briefly look into what a class, object, methods, and instant variables mean. Object − Objects have states and behaviors.

Types of Inheritance in C++

• Single Inheritance.

• Multiple Inheritance.

• Hierarchical Inheritance.

• Multilevel Inheritance.

• Hybrid Inheritance (also known as Virtual Inheritance)

Hope this answer helps you!!!

Similar questions