public class InfiniteString { { return ((s + t).compareTo(t + s) == 0) ? "Equal" : "Not equal"; } }
Standard input is empty
Main.java:1: error: class InfiniteString is public, should be declared in a file named InfiniteString.java public class InfiniteString { ^ 1 error
Standard output is empty