There can only be ONE public class in a source file. Only the class whose name matches the source file name can be public.
Remove the public attribute for the other classes.
Type: Posts; User: Norm
There can only be ONE public class in a source file. Only the class whose name matches the source file name can be public.
Remove the public attribute for the other classes.
The name of the java source file must match the name of the public class it contains.
public class XYZ
must be in the file XYZ.java
Please copy and paste here as text what you want us to see. The image is hard to read and no text can be copied from an image to include in a response.