Sunday, 17 April 2011

Is it possible to override the main method?

NO, because main is a static method. A static method can't be overridden in Java.

No comments:

Post a Comment