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.