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
class type to basic type conversion
What is the difference between a constructor and a destructor?
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
What is static modifier?
What is encapsulation with real life example?
What is for loop and its syntax?
can inline function declare in private part of class?
What is debug class?what is trace class? What differences are between them? With examples.
what are the ways in which a constructors can be called?
write a program that takes input in digits and display the result in words from 1 to 1000
what are the different types of qualifier in java?
What are two types of polymorphism?
Why do we use class?
What is encapsulation in ict?
What are constructors in oop?