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 the main purpose of inheritance law?
What are the benefits of polymorphism?
What is the use of oops?
Can we create object of abstract class?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is oops and its features?
What is inheritance write a program to show use of inheritance?
What is the difference between inheritance and polymorphism?
Why do we use oops?
What is oops?what is its use in software engineering?
What is the difference between encapsulation and polymorphism?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How to use CMutex, CSemaphore in VC++ MFC
How long to learn object oriented programming?
when to use 'mutable' keyword and when to use 'const cast' in c++