+ 1
What happens when we declare two or more main methods
3 Answers
+ 1
You can only have one main method. Only main method with single String[] (or) String... as param will be considered as entry point for the program. You can only have one entry point in the program.
+ 1
thanks bro
0
no problem