Sunday 22 February 2015

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