This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes instance and object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "instance and object" Watch "instance and object" New topic
Author

instance and object

shahzama pathan
Greenhorn

Joined: Apr 23, 2009
Posts: 2
Is the instance of a class and object of a class are the same thing or different ? If they are different, whats the difference ?

thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I've never heard of "object of a class". I would say "an object O, which is an instance of class A".


[My Blog]
All roads lead to JavaRanch
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37865
    
  22
And welcome to JavaRanch
 
Consider Paul's rocket mass heater.
 
subject: instance and object
 
Similar Threads
Object Vs Instance
Diff . object && instance
difference btwn Object and Instance
object and instance
what is diff betwn Object and instance