Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Instance and object

Chaitanya_PuneChaitanya_Pune Member Posts: 87
Hi all,
Is there any difference between an object and an instance of a class?

Regards,
Chaitanya

Comments

  • stoberstober Member Posts: 9,765 ✭✭✭
    : 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.
  • tsagldtsagld Member Posts: 621
    : : 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


Sign In or Register to comment.