Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

about static Keyword



We are using public static void main(String args[]) in main method and this main method can access all the classes which are non static in our program. why it is happen. Because one static method can access only another static method. then how main() method which is static can access another non static classes or methods