Mohan's JavaBook
Java Interview Questions
ContactUs :
Please send your Questions & Answers or Feedback to "mohan@javabook.org"
Can I have multiple main methods in the same class?
No the program fails to compile. The compiler says that the main method is already defined in the class.
Newer Post
Older Post
Home