GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 2 of 203    Print  
What is an object?
Object is a software bundle of variables and related methods. Objects have state and behavior. 
 


  
Total Answers and Comments: 11 Last Update: July 20, 2009   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Mohsin
 

 An Object is an instance of a class. For Ex: ferrari and maruthi are  objetcs of class car. 



Above answer was rated as good by the following members:
sim_sam, ozkan
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
July 04, 2005 06:58:59   #1  
MAS        

RE: What is an object?
Objects also have identity which makes them distinguishable from other objects.
 
Is this answer useful? Yes | No
March 28, 2006 01:49:41   #2  
Mohsin        

RE: What is an object?

An Object is an instance of a class. For Ex: ferrari and maruthi are objetcs of class car.


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
May 03, 2007 07:28:25   #3  
sanjiv singh        

RE: What is an object?
An object is a component of a program that knows how to perform certain actions and to interact with other pieces of the program.As we know Functions are "black boxes" that take an input and spit out an output. Objects can be thought of as "smart" black boxes. That is objects can know how to do more than one specific task and they can store their own set of data.
 
Is this answer useful? Yes | No
June 13, 2007 04:07:07   #4  
SomGollakota Member Since: June 2007   Contribution: 48    

RE: What is an object?
Object in Object Oriented terminology is synonymous to Class in C++. However in C++ Object is synonymous to what is called as an instance in Object Oriented terminology.

In C++ Object is an instance of a Class that has a runtime state and is associated with certain specific methods that can change its state.

 
Is this answer useful? Yes | No
May 14, 2008 12:57:30   #5  
niti2679 Member Since: May 2008   Contribution: 1    

RE: What is an object?
object is an intance of a class. Class has only the logical existence while the object has a physical existence.
 
Is this answer useful? Yes | No
July 07, 2008 23:47:49   #6  
ajish babu Member Since: July 2008   Contribution: 2    

RE: What is an object?

Objects are the instance of class. Object has data and the functions for modifying the data and handling messages from other object.


 
Is this answer useful? Yes | No
July 19, 2008 06:28:23   #7  
israrchaudhry Member Since: July 2008   Contribution: 2    

RE: What is an object?
Object is a instant of a class. It is possible that there can be many instances of a class i.e many similar objects holding diffent data values.
 
Is this answer useful? Yes | No
August 08, 2008 05:42:45   #8  
vsvraju Member Since: August 2008   Contribution: 5    

RE: What is an object?
An instance of a class. Object will contain the state
 
Is this answer useful? Yes | No
August 11, 2008 13:52:42   #9  
phalke Member Since: August 2008   Contribution: 1    

RE: What is an object?
Objects also have identity which makes them distinguishable from other objects.
 
Is this answer useful? Yes | No
June 12, 2009 08:14:20   #10  
gunjan.chandra Member Since: April 2009   Contribution: 7    

RE: What is an object?
Objects are the region of storage of data with associated semantics.
e.g. int i;
'i' is object which can store integer data.
It is an instance of class.

 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape