State and explain the five basic concept of C++
Answers
Answered by
1
C++ OOPs Concepts
Object.
Class.
Inheritance.
Polymorphism.
Abstraction.
Encapsulation.
Hope it helps you
Answered by
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