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


Please Help Members By Posting Answers For Below Questions

What is the main purpose of inheritance law?

957


What are the benefits of polymorphism?

877


What is the use of oops?

811


Can we create object of abstract class?

843


write a programe to calculate the simple intrest and compund intrest using by function overlading

1913


What is oops and its features?

838


What is inheritance write a program to show use of inheritance?

888


What is the difference between inheritance and polymorphism?

809


Why do we use oops?

772


What is oops?what is its use in software engineering?

772


What is the difference between encapsulation and polymorphism?

847


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2320


How to use CMutex, CSemaphore in VC++ MFC

4548


How long to learn object oriented programming?

824


when to use 'mutable' keyword and when to use 'const cast' in c++

1895