Frage im Vorstellungsgespräch bei Appinventiv

How can a Java program be executed without a main method? Write the execution.