3 ms·
You've just described separate programs that happen to be bundled together (in the same jar presumably). Each invocation of the jvm requires that you specify t
by chii 1y ago
You've just described separate programs that happen to be bundled together (in the same jar presumably).
Each invocation of the jvm requires that you specify the class for which a single static main exists. The other classes containing other static mains are irrelevant.
- izacus 1y agoNo they didn't. Seems like you arbitrarily redefined what a program means to argue.