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 difference between abstraction and encapsulation?
What is the difference between inheritance and polymorphism?
Which is not an object oriented programming language?
What is static in oop?
What is the purpose of polymorphism?
How do you define social class?
What is constructor in oop?
Can an interface inherit a class?
Write a program to reverse a string using recursive function?
What is abstraction and encapsulation?
What is for loop and its syntax?
Is oop better than procedural?
Why multiple inheritance is not possible?
What is destructor oops?
Whats is abstraction in oops?