It is a good question, and the answer is, you specify which class the program will start with, and the main method of that class will be called.
So for example, if you had another class which also...
Type: Posts; User: jps
It is a good question, and the answer is, you specify which class the program will start with, and the main method of that class will be called.
So for example, if you had another class which also...
Each class could(should) have its own main method, even if it was there just for testing the class