Search:

Type: Posts; User: Sean4u

Search: Search took 0.15 seconds.

  1. Replies
    10
    Views
    9,749

    [SOLVED] Re: Error: Class,interface or enum expected

    It might be easier to rename your file. You refer to Lamp in several places, but you'd only have to change the filename once. Give it a try and let us know where it gets you.
  2. Replies
    10
    Views
    9,749

    [SOLVED] Re: Error: Class,interface or enum expected

    You should always copy and paste your full errors, rather than re-typing them. It looks to me as though you might be trying to compile a file called "PrgLamp.java" which only contains a class called...
  3. Replies
    10
    Views
    9,749

    [SOLVED] Re: Error: Class,interface or enum expected

    You see in your image where it tells you the error is on line 1, and then on the next line there's a '^'? That '^' points to the character on the problematic line where javac thinks things have...
Results 1 to 3 of 3