+ 1

I know that java program must start from main method can the program also end in the main method during the time of execution?

does a java program end after executing the MAIN METHOD

4th Aug 2018, 2:42 PM
omomehin
3 Answers
+ 1
The program not "must" start from main method. The program starts and ends in main.
4th Aug 2018, 3:08 PM
B K
0
thanks for your contribution. i really appreciate!
7th Aug 2018, 11:32 PM
omomehin
0
thanks for your contribution. i really appreciate!
7th Aug 2018, 11:33 PM
omomehin