I am wondering how a non static method can modify a static variable. I know that static methods can only access other static methods and static variables. However, is the ot
Non static methods can access static variables.
Static methods can access only static variables or methods directly without creating object.ex:public static void main(String arg[])