0

Why is there a main method?

22nd Aug 2016, 9:07 PM
Evan
3 Answers
+ 2
thats the entry point of the program
23rd Aug 2016, 10:46 AM
MolnĂĄr GĂĄbor
MolnĂĄr GĂĄbor - avatar
0
JVM starts your program execution from main method. it's the starting point.
24th Aug 2016, 3:34 AM
Sarath chalapaka
Sarath chalapaka - avatar
0
because JVM looks for main method first
24th Aug 2016, 11:28 AM
shridhar metraskar
shridhar metraskar - avatar