by Dinesh Thakur

We know in Class data members and Members Functions are Instantiated, When Object of Class is Created New Memory is Allocated by Each Object .So for Avoiding this New Memory Each Time Creation, We Uses Static Data then data will be Common to all and the static data is used without creating an object of class Static data is used without creating an object Instead with name of class .

 The Members those are declared as Static are Known as Static Members are associated with the class itself rather than individual objects Main Advantage of Static variables is java creates only one Copy of Static data Members  in Memory Like Data Members Methods May also be Static and they Called without object of class.