+ 1
Is it possible in Java to write a program which can be started without a main method?
3 Respostas
+ 2
No. All java programs need a main method to run. that being said you can write java libraries that don't require one but to use them you need the initial main method somewhere
0
main is entry function.
juse like start button.
0
It was possible until java 6.
But not anymore