+ 1

Is main method compulsory in java?

11th Jun 2019, 4:53 PM
Marusha Khalid
Marusha Khalid - avatar
2 Antworten
+ 5
Yes it's the heart❤ of the program which will acts as an mangers for your program....
11th Jun 2019, 9:31 PM
minirkk
minirkk - avatar
+ 1
Main() is always necessary in Java because u r entire code starts running from the main() . There should be one main() in any Java code ..
11th Jun 2019, 6:09 PM
Prashanth Manna
Prashanth Manna - avatar