+ 1
Is main method compulsory in java?
2 Answers
+ 5
Yes it's the heart†of the program which will acts as an mangers for your program....
+ 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 ..