What are the OOPS concepts?
Answer Posted / m@@hi agrawal
1.object-objects are basic runtime entity which shows the
behavior of the class.an object has state,behaviour,identity
.in other words "object is known as instance of class".
2.class-a class is collection of objects of similar types.
3.data abstraction-it is a collection of data that describes
a data object.
4.encapsulation-the wrapping of data into a single
unit(called class)known as encapsulation.
5.inheritance-inheritance is the process of creating new
classes (derived class)from base class.
6.polymorphism-it means ability to take more than one
form.i.e. it meanse "many forms".
7.dynamic binding-in dynamic binding,events occur at the run
time.in such function calls the complete address information
is known only at run time.it is known as dynamic binding
because the selection of the apporiate function is done
dynamically at run time.
8.message passing-an object oriented program consist of a
set of object that communicate each other.objects
communicate with one another by receiving & sending
information much the same way as people pass messages to one
another.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you define a class in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is static modifier?
Where is pseudocode used?
What does no cap mean?
What are benefits of oop?
What are properties in oop?
What is and I oop mean?
What is the renewal class?
What is inheritance and how many types of inheritance?
What is data binding in oops?
to find out the minimum of two integer number of two different classes using friend function
what are the ways in which a constructors can be called?
Why do we use polymorphism in oops?
Why is polymorphism used?