If Main Method is not present What happens to the program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If Main Method is not present What happens to the program?

21st Jul 2016, 5:25 PM
S V R
S V R - avatar
2 Answers
0
dont work any application must have 1 main method
22nd Jul 2016, 9:42 PM
Maichael Nasr
Maichael Nasr - avatar
0
program will start running from the main method. If your program does not have any main method then it will never start running.
25th Jul 2016, 3:54 PM
Evan Sihab
Evan Sihab - avatar