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


Please Help Members By Posting Answers For Below Questions

class type to basic type conversion

1847


What is the difference between a constructor and a destructor?

623


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1662


What is static modifier?

644


What is encapsulation with real life example?

581






What is for loop and its syntax?

608


can inline function declare in private part of class?

3668


What is debug class?what is trace class? What differences are between them? With examples.

1617


what are the ways in which a constructors can be called?

1590


write a program that takes input in digits and display the result in words from 1 to 1000

1999


what are the different types of qualifier in java?

1847


What are two types of polymorphism?

622


Why do we use class?

646


What is encapsulation in ict?

618


What are constructors in oop?

605