forum

Home / DeveloperSection / Forums / How can I execute any program in java without main method?

How can I execute any program in java without main method?

Anonymous User 2972 23-Jul-2011

Hi,

I have a  small problem while creating program. This might be a silly question as I am fresher in JAVA. I want to ask that
is it possible to run any program in java which have not main method. Like we can run some program in c and c++ which
doesent have main method. Is it possible in java.

Thanks.


Updated on 23-Jul-2011
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By