October 28th, 2011, 06:49 AM
Write a java program without a main function
this is gokul
new to this forum,
and i need to know that a java program without main function
could anyone tell me pls ?
October 22nd, 2012, 02:19 AM
I don't think it is a nice idea...
Besides why you want to create java program without main function?????
December 13th, 2012, 06:38 AM
i dont thinh you can
you cant make a program without the main class
but you can save what you are doing as a class
and save it in a package hence you will be able to use that class whenever needed by calling it