+ 2
Is it possible for you to use two different int main () when writing a program
2 Réponses
+ 14
No. The program will not compile in the first place, if you declared two main() functions.
+ 11
The program starts at the main method. If you had two main methods, it won't know where to start.