A field variable is a variable that is declared as a member of a class. A local variable is avariable that is declared local to a method.:field variable well known as instance variable,s which are part of the object and they live in heap memory.
Category:Java Interview Questions
No comments:
Post a Comment