If a variable is declared as public static varName;, then I can access it from anywhere as ClassName.varName. I am also aware that static members a
public static varName;
ClassName.varName
Static variables are those variables which are common for all the instances of a class..if one instance changes it.. then value of static variable would be updated for all other instances