There are three types of variables in Java:

Local variable
Instance variable
Static variable