"A static method can't access a nonstatic (instance) variable, because there is no instance!"
The above sentence was culled from one of numerous books that i have consulted/study so far on Java,but till now am still having problem with my understanding about that so called "static modifier"
Because with the above statement yet main method which is also static method on which the execution of the whole Java program code depends on still make use of non-static variable when found in the body of code, how come is like that?
Or let say this is one of such problem am yet to understand about this static method of a thing.
Please help me out in breaking this thing down maybe in a more simpler way,probably with simple example to back it up
Thanks to u all
gyno.