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

given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

0 Answers   DELL,


WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

1 Answers  


Can you explain polymorphism?

0 Answers  


What is operator overloading? Give Example

11 Answers   CTS, IBM, TCS,


Whats oop mean?

0 Answers  






What do you mean by variable?

0 Answers  


what is an instance of a class

5 Answers  


when my application exe is running nad i don't want to create another exe what should i do

2 Answers   HCL,


Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku

4 Answers  


why c++ is a highlevel language

3 Answers   Satyam, Tech Mahindra,


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


what is new modifier in C#

8 Answers   HCL,


Categories