+ 3
Is it necessary to define the main method in each class which your creating?
2 odpowiedzi
+ 4
No, you only need one main method per program. One class needs it, no other class in that program does. The main method is just a starting point.
0
only the main class