Static methods may not access the instance methods of their class (or any other class for that matter), other than via some object reference, e.g. anObject.someMethod(). Static methods may even access private instance methods in their class via some object reference.
Any instance method that accesses only static variables and methods, can be safely converted to static.
This page is posted |
http://mindprod.com/jgloss/instancemethod.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\instancemethod.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.219.209.144] |
| |
Feedback |
You are visitor number | |