instance variable : Java Glossary

instance variable
a variable, part of an Object. These might better be called perObject variables since each instantiated object of this class will have its own private copy of this variable. They are allocated when the object is allocated via new.

Static methods may not access the instance variables of their class (or any other class for that matter), other than via some object reference, e.g. anObject.someField. Static methods may even access private instance variables in their class via some object reference.


available on the web at:

http://mindprod.com/jgloss/instancevariable.html
ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\instancevariable.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Blog
IP:[65.110.21.43]
Your face IP:[54.243.14.193]
You are visitor number 71,651.