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
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
class type to basic type conversion
Why do we use oops?
What polymorphism means?
What is class and example?
What are the data types in oop?
What is static in oop?
What are the 3 principles of oop?
what are the ways in which a constructors can be called?
What is stream in oop?
What is property in oops?
What is destructor give example?
Why polymorphism is used in oops?
What is oops in simple words?
Where is pseudocode used?