943,682 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 676
  • Java RSS
May 21st, 2009
0

Instance Variable and Fields

Expand Post »
What is the difference between an instance variable and field in java?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
PhoenixInsilico is offline Offline
18 posts
since Sep 2008
May 21st, 2009
0

Re: Instance Variable and Fields

A field may be an instance variable or a static variable.
Featured Poster
Reputation Points: 1907
Solved Threads: 950
Posting Expert
JamesCherrill is offline Offline
5,767 posts
since Apr 2008
May 22nd, 2009
-1

Re: Instance Variable and Fields

Dear PhoenixInsilico,

Quote ...
JamesCherrill's anwer is appropriate.
- A field may be an instance variable or a static variable.
They are variables but used in different context.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
May 22nd, 2009
0

Re: Instance Variable and Fields

Click to Expand / Collapse  Quote originally posted by adatapost ...
They are variables but used in different context.
And what is that suppose to mean ? Not to mention JC had already given the answer.
Reputation Points: 485
Solved Threads: 89
Posting Shark
verruckt24 is offline Offline
944 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: amplify sound
Next Thread in Java Forum Timeline: Static and Nested Classes





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC