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
Explain the concepts involved in Object Oriented programming.
What is abstraction and encapsulation?
Can private class be inherited?
Can you inherit a private class?
What is the main feature of oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What polymorphism means?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is polymorphism explain its types?
State what is encapsulation and friend function?
Which method cannot be overridden?
What is the difference between inheritance and polymorphism?
why reinterpret cast is considered dangerous?
Why do we use oop?
Why do we use class?