+ 1
Is it possible to run the program without main function?
4 Answers
+ 4
No, the main function is where the code that runs when the program starts goes, so it is necessary for it to do anything.
+ 3
No. When you run a Java program it start executing from the main() method, that means main() method is the starting point for execution. So if you don't provide the starting point how the code can run.
+ 2
no, it is not possible to run a program without main () because execution of any program starts from main ()
0
ok.... Guys then how it's possible in applet program without main() function ?