What are the OOPS concepts?

Answer Posted / manoj kumar verma

OOps or Object Oriented Programming is the technique to
create program based on the real world.
OOPs based language to findout the object and manipulate
and their relation between each other. OOPa offer greather
flexibility and comptibility and is populor in developing
large application.
OOPs define the various properties such as..
1. Class -:
In class Define the all the Data members and
methods.
2. Objects -:
object is the Instance of class.
3. Methods -:
We know that a class can define both
attributes and behaviour.Attrbutes are define by varibles
and behavior are define by methods.

4. Abstraction -:
only show the essential details and do
not show the non - essential details.

5. Encapsulation -:
Means, hiding of the data members or
packing the data members and methods.

6. Inheritance -:
Reuseability of the code by making a
derived class. for e.g. father -> chield
A class is made looking at which the new derived class is
made with modification or addition in the derived class

7. Polymorphism -:
When one objects show the various
forms then it is known as polymorphism. for e.g.
One mobile key type the some character and one digits.

8. Message Passing -:
we can pass the one object to
another.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is data hiding and abstraction same?

768


What is encapsulation in oop?

781


Get me an image implementation program.

1737


What is the difference between inheritance and polymorphism?

795


What is encapsulation in simple terms?

766


explain sub-type and sub class? atleast u have differ it into 4 points?

2041


What is the point of polymorphism?

767


What is polymorphism explain its types?

917


What is super in oop?

828


How is polymorphism achieved?

770


How do you use inheritance in unity?

798


What is destructor oops?

835


Can an interface inherit a class?

779


Can we have inheritance without polymorphism?

790


What is and I oop mean?

834