Users Pricing

forum

Home Forums How can I execute any program in java without main method? – MindStick

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

Anonymous User 3499 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.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md