Frage im Vorstellungsgespräch bei Vanguard

Unexpected Question: In Java, how can you print 'Hello, World!' before the main is executed?