What are the OOPS concepts?
Answer Posted / sirisha
oops concepts are
1.Object
An object is collection of data members and associated
member functions.
2.Class
Class is a data structure which encapsulates data and
member function in a single unit and the member funtions of
the class are used to access member variables.
3.Abstraction
Abstraction is of the process of hidding data.
or
Identifying the important properties of existing modes.
4.Encapsulation
The wrapping up of data and methods in a single unit is
known as encapsulation.
5.Polymorphism
Process of aquiring properties from one object to another
with changes.
or
The same operation can be applied differntly in diffent
objects.
ex:5+2,a+b.
6.Inheritance
Process of aquiring properties from one object to another
without changes.
or
Identifying the important features based on one class to
next class.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism and example?
Why do we use encapsulation in oops?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Get me a number puzzle game-program
i got a backdoor offer in process global,Bangalore..Can i work with it?
How do you achieve runtime polymorphism?
Why do we use polymorphism?
Why is polymorphism important in oop?
What is overriding in oop?
What is interface in oop?
Is oop better than procedural?
What is the problem with multiple inheritance?
What is polymorphism and types?
What is abstraction in oops with example?