Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can u figure out this  RSS feed

 
Saravanan kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me, What is the difference between INSTANCE VARIABLE,REFERENCE VARIABLE,and STACK VALUE???
Thanks in advance :roll:
 
Richard Anderson
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instance Variable
http://mindprod.com/jgloss/instancevariable.html

Reference Variables (Overview of Using Java Objects)
http://java.sun.com/docs/books/tutorial/java/data/usingobject.html

I don't know what you mean by 'stack value'.

Not trying to be rude or anything, but you might want to google first before posting questions. I found the answers to your above questions in just a short amount of time by using it.
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'stack value' = value on the stack
'instance variable' aka 'member variable'= variable declared at the class level that is not static.
'reference variable' = a variable that represents an object rather than a primitive.
[ July 15, 2005: Message edited by: Marilyn de Queiroz ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!