Domanda di colloquio di Appinventiv

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