public class Main{ public static void main(String[] args) { 1+2; }}
Standard input is empty
Main.java:5: error: not a statement 1+2; ^ 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!