Question: what are the three main types of variables used in java?
Answer: local variable., instance variable., static variable.