Please tell me the oops concept with detailed answer
Answer Posted / priya
c++ supports oops concept
that are
1.encapsulation
(gathring all information in to a single unit)
2.Polymorphism
(The ability of a function that can act on different
data types in different ways)
3 Abstraction
(Implementation of data encapsulation)
4.class- it is a collection of variables and methods
5.odjects- it is the run time entity(it is same as real
world objects)
6.inheritance-
concept of acquiring the base class properties
there are 5 types of inheritance
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hybrid inheritance
7.dynamic binding- data bind at runtime
8.message passing-communicating information with one another
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is polymorphism explain its types?
Can a destructor be called directly?
What is persistence in oop?
What does and I oop mean?
How long to learn object oriented programming?
What is overloading in oops?
Write a c++ program to display pass and fail for three student using static member function
why reinterpret cast is considered dangerous?
What is destructor example?
What is encapsulation with real life example?
Get me an image implementation program.
Why we use classes in oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Can we create object of interface?
2. Give the different notations for the class.\