Main.java:5: error: class YY is public, should be declared in a file named YY.javapublic class YY { ^1 error