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
Can a varargs method be overloaded?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What are the 3 pillars of oop? What does I oop mean? Can we create object of interface? What is constructor overloading in oop? Can main method override? What is cohesion in oop? What is the purpose of polymorphism? How to improve object oriented design skills? What is the difference between procedural programming and oops? What is abstraction in oop with example? What is protected in oop? Why multiple inheritance is not possible?