public class Main { static { System.out.println("Message"); System.exit(0); } }
Standard input is empty
spoj: The program compiled successfully, but main class was not found. Main class should contain method: public static void main (String[] args).
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!