Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    5
    Views
    729

    Re: Problem with the code

    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.
  2. Replies
    5
    Views
    729

    Re: Problem with the code

    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
  3. Replies
    5
    Views
    729

    Re: Problem with the code

    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.
Results 1 to 3 of 3