ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Can we overload main method?

Yes, we can have multiple methods with name “main” in a single class. However if we run the class, java runtime environment will look for main method with syntax as public static void main(String args[]).
Related Posts Plugin for WordPress, Blogger...
Flag Counter