Public clases main{Int a = 20Int b = 30Int c = 40Int res = (a+b+c)/3
Standard input is empty
Main.java:1: error: class, interface, or enum expected Public clases main{ ^ 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!