+ 12
Does every runnable java program have main method?
3 Antworten
+ 11
But you could also use static {}, right?, this would also execute but with runnable exception?
+ 9
Yes, if it is a stand-alone (not web) application. The main method is the entry point. The JVM will look for this method and begin to execute your program from this entry point.
0
yes