Java - Variables
Variables are the name given memory locations.
There are three types of variables in java.
Local variables are the variables which are declared inside a method or blocks.
These are the variables which are declared inside the class and outside the method or block.
Static variables are declared with static keyword. The static variables are intialized only once.
This topics will be more clear when we do practical questions.