CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS LANGUAGES C++ DETAILS
Question :
What is the difference between an object and a class?



Category C++ Interview Questions
Rating (5.0) By 1 users
Added on 7/19/2006
Views 1388
Rate it!
Answers:

Class is a userdefined datatype with data members and member functions which can be public or privately accessed depending on access specifiers.

Objects are instances of classes which identifies the class propeties.A particular class can have it's own class which makes it identifying it's object.




Class is a collection of data members and member functions.And how that data members and member functions are accessed?The ans is through OBJECT.Object is nothing but the real time entity where as class is the user defined data type.



 Posted by: Sangithapriya    

Contact Sangithapriya  Contact Sangithapriya


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is encapsulation?


View Answer
what is defference between constructor and destructor


View Answer
Can you explain the term "resource acquisition is initialization?"

View Answer
What is the difference between operator new and the new operator?

View Answer
How can you force instantiation of a template?

View Answer
What is an algorithm (in terms of the STL/C++ standard library)?


View Answer
What is the output of printf ("%d")


View Answer
What will happen if I say delete this


View Answer
Difference between "C structure" and "C++ structure".


View Answer
What is the difference between "overloading" and "overriding"?


View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL C++ Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/6138/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.66