What is an object?

Answers were Sorted based on User's Feedback



What is an object?..

Answer / vikas patel

Object is the block of the memory to derived class...

ex
Rectangle rec = new Rectangle....
rec is the object

Is This Answer Correct ?    0 Yes 1 No

What is an object?..

Answer / manoj kumar

Object is an entity with identity,state and behavior.
object is an entity that exist in the real word.

example:

int a;
a=10;

Identity of an object is a.State is represented by data value
i.e. 10 and behavior of the object is that it is integer type.

Is This Answer Correct ?    0 Yes 1 No

What is an object?..

Answer / vinod

Object is a separate copy of CLASS which has properties and
functions. it has it's own memory space and things. when
the properties are changed it will not affect the other
object of the same class

Is This Answer Correct ?    0 Yes 2 No

What is an object?..

Answer / rinku

object is a variable of data type class

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More OOPS Interview Questions

What is the difference between abstraction and polymorphism?

0 Answers  


Write a program to reverse a string using recursive function?

0 Answers   TCS,


any one please tell me the purpose of operator overloading

0 Answers   Amazon,


how to get the oracle certification? send me the answer

0 Answers   Oracle,


A file pointer always contains the __________ of the file

5 Answers  






Which is better struts or spring?

0 Answers  


What is basic concept of oop?

0 Answers  


When not to use object oriented programming?

0 Answers  


What is the point of oop?

0 Answers  


why function overloading is not called as pure polymorphism?

2 Answers  


write a program to find 2 power of a 5digit number with out using big int and exponent ?

0 Answers  


Why multiple inheritance is not allowed?

0 Answers  


Categories