Whatever I write class name (Main, Solution etc.), it shows same compilation error " Untitled.java:4: error: class Solution is public, should be declared in a file named Solution.java".
1 Like
Please name your class “Untitled” in this case.
The actual bug here is that the field that lets you set the filename is now being shown. It will be fixed soon.