wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes what is difference between Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is difference between" Watch "what is difference between" New topic

what is difference between

srikanth arroju
Ranch Hand

Joined: Aug 02, 2006
Posts: 66
what is the difference between static ,instance ,local variables
marc weber

Joined: Aug 31, 2004
Posts: 11343

Originally posted by srikanth arroju:
what is the difference between static ,instance ,local variables

"static" means associated with the class, rather than any particular instance.

"Instance" means non-static. In other words, associated with a particular instance.

"Local" means limited to a particular scope within a class -- typically a method body.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: what is difference between
Similar Threads
JRE vrs. JVM
Difference between gems and plugins
Quick Question HttpSessionBinding vs HttpSessionAttribute Listeners
Run as AWT or SWT Application Eclipse Question