Exforsys
+ Reply to Thread
Results 1 to 5 of 5

Object and Instance

This is a discussion on Object and Instance within the C and C++ forums, part of the Programming Talk category; How is the object different from instance? Are they the same or not?...

  1. #1
    Adrian is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    Object and Instance

    How is the object different from instance? Are they the same or not?


  2. #2
    zsk_00 is offline Member Array
    Join Date
    May 2006
    Answers
    38
    object oriented terminologies can be confusing. You can create instance of a class and call it an object. But if you call a class an object to begin with, then instance of this object is just an instance!

    zafar


  3. #3
    blenda is offline Member Array
    Join Date
    May 2006
    Answers
    36
    Hi,
    Both object and instance refer to the same thing. In other words object is an instance of a class. And class is a collection of similar objects.

    Regards,
    Blenda


  4. #4
    v.sujatha is offline Junior Member Array
    Join Date
    Sep 2006
    Answers
    1
    Object and instance mean one and the same.We just use them alternatively.The meaning remains the same


  5. #5
    Angela is offline Member Array
    Join Date
    Apr 2006
    Answers
    85
    An object and an instance are one in the same. Objects are instances of a class.So without doubt you can take that an object and an instance are the same.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...