Sunday, 12 February 2012

Why is the main method declared static?

main method is called by the JVM even before the instantiation of the class hence it is declared as static.

No comments: