hi please explain me with e.g. the difference between local,member, instance variables and class variables in
java?
what i know is that,
local variables - inside methods only (may or may not using 'static' keyword)
instance varibles - declared inside method(without using 'static' keyword) and belonging to Objects created from Class
class variables - declared inside class and not within any method, available to all the methods inside the class.
member variable - DON'T KNOW, Please tell me
please explain me if iam wrong anywhere.
thank you