C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Instance and object Posted by Chaitanya_Pune on 26 Jul 2006 at 2:07 AM
Hi all,
Is there any difference between an object and an instance of a class?

Regards,
Chaitanya
Report
Re: Instance and object Posted by stober on 26 Jul 2006 at 3:59 AM
: Hi all,
: Is there any difference between an object and an instance of a class?
:
: Regards,
: Chaitanya
:


Maybe yes, and maybe no. Depends on the context in the sentence. The two could be used interchangeably. "An object" might also be referring to the class itself and not an instance of the class.
Report
Re: Instance and object Posted by tsagld on 27 Jul 2006 at 1:09 AM
: : Hi all,
: : Is there any difference between an object and an instance of a class?
: :
: : Regards,
: : Chaitanya
: :
:
:
: Maybe yes, and maybe no. Depends on the context in the sentence. The two could be used interchangeably. "An object" might also be referring to the class itself and not an instance of the class.
:
'An instance of a class is an object in memory'.

Greets,
Eric Goldstein
http://www.gvh-maatwerk.nl





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.