Instance Variable and Fields

Reply

Join Date: Sep 2008
Posts: 7
Reputation: PhoenixInsilico is an unknown quantity at this point 
Solved Threads: 0
PhoenixInsilico's Avatar
PhoenixInsilico PhoenixInsilico is offline Offline
Newbie Poster

Instance Variable and Fields

 
0
  #1
May 21st, 2009
What is the difference between an instance variable and field in java?
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 972
Reputation: JamesCherrill is just really nice JamesCherrill is just really nice JamesCherrill is just really nice JamesCherrill is just really nice JamesCherrill is just really nice 
Solved Threads: 145
JamesCherrill JamesCherrill is offline Offline
Posting Shark

Re: Instance Variable and Fields

 
0
  #2
May 21st, 2009
A field may be an instance variable or a static variable.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,612
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 468
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: Instance Variable and Fields

 
-1
  #3
May 22nd, 2009
Dear PhoenixInsilico,

JamesCherrill's anwer is appropriate.
- A field may be an instance variable or a static variable.
They are variables but used in different context.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Instance Variable and Fields

 
0
  #4
May 22nd, 2009
Originally Posted by adatapost View Post
They are variables but used in different context.
And what is that suppose to mean ? Not to mention JC had already given the answer.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC