Question: what is the difference between local variable and a field?
Answer: An instance field is the same as a class field, but is non static and can be different for each instance of the object. And a local variable is a variable inside a method or block, that can only be used by that method or block. ... A class field and instance field are (generally) the same thing.