public class Hello{ public static void main(String args[]){ System.out.print("Hello"); }}
Standard input is empty
Main.java:1: error: class Hello is public, should be declared in a file named Hello.java public class Hello{ ^ 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!