• Dear Guest, Please do NOT forget to join our JAVA JOBS (ONLY) FACEBOOK GROUP to be aware of latest JAVA openings, and you may also post any JAVA related queries/jobs.

Why Static methods don't act upon instance variables ?

Static Methods will be loaded on JVM whenever Class is loaded, but memory will be allotted to instance variables after creation of Object only not at the time of Class loading.

- In case, if we are trying to access instance variable from Static Methods, when the time of loading Class, Static Methods are failed to load.

Note : Whenever Class is loaded in JVM the Static Members (Static Variables, Static Methods, Static Blocks) will be loaded.
DStatic methods can not anon admission any instance variables or methods. But they can admission them by application their article reference. Static methods may alike admission clandestine instance variables via a article reference.