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
How to call a non virtual function in the derived class by using base class pointer
What is encapsulation in ict?
What are properties in oop?
What is polymorphism and types?
What is inheritance write a program to show use of inheritance?
What is object in oop?
What is class and object with example?
What is the real time example of inheritance?
How do you define a class in oop?
Prepare me a program for the animation of train
Is enum a class?
why reinterpret cast is considered dangerous?
What is polymorphism what are the different types of polymorphism?
What is oops and why we use oops?
Can we create object of abstract class?