wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "objects" Watch "objects" New topic
Author

objects

Guru dhaasan
Ranch Hand

Joined: Sep 13, 2006
Posts: 126

What is the difference between a reference variable and an object


Thanks, Shiv
SCJP, OCE - JSP & Servlets Developer
Sanjeev Singh
Ranch Hand

Joined: Nov 01, 2006
Posts: 381
Think reference variable as your name and object as yourself.


~Sanjeev Singh<br />SCJP 1.5
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
See if The Famous Cups help.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Guru dhaasan
Ranch Hand

Joined: Sep 13, 2006
Posts: 126

Thanks sanjeev. This example I wont forget in my life time
Guru dhaasan
Ranch Hand

Joined: Sep 13, 2006
Posts: 126

Thanks stan. Cups story explained a lot about objects
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: objects
 
Similar Threads
MultiDimenaional Array sort
WA #1.....word association
generics - why does this work?
Thread and Object
Array