Instance and Static Variables : The scope of variables belongs to instance  is entire class. The scope of static variables is also entire class. They can be declared any where in the class. Local Variables : The scope of local variables start from its declaration and remain valid till the end of the block that contains