public class Solution { public static void main(String[] args) { System.out.println("Амиго очень умный"); }}
Standard input is empty
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java public class Solution { ^ 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!