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 causes polymorphism?
How to call a non virtual function in the derived class by using base class pointer
Why oops is important?
What is the importance of oop?
What is the real time example of encapsulation?
What are the important components of cohesion?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is encapsulation oop?
What is super in oop?
What is the full form of oops?
What is the fundamental idea of oop?
What is oops concept with example?
What is polymorphism oop?
What is meant by multiple inheritance?
write a C++ program for booking using constructor and destructor.