What is the difference between a field variable and a local variable | Eklavya Online

What is the difference between a field variable and a local variable

A field variable is a variable that is declared as a member of a class.

A local variable is a variable that is declared local to a method.