October 28th, 2011, 05: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, 01: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, 05: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