Results 1 to 4 of 4
  1. #1
    jaicea is offline Member
    Join Date
    Nov 2009
    Posts
    8
    Rep Power
    0

    Post Define this error.

    i have a ton of these errors in my code. Class, interface, enum expected. I do not understand what that means. I try looking it up but it did not help me understand fully what it means?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Look in the code above the line causing the error. Perhaps you're missing a semicolon or a closing curly bracket here?

  3. #3
    jaicea is offline Member
    Join Date
    Nov 2009
    Posts
    8
    Rep Power
    0

    Default

    Thanks! That was so obvious when I looked back at the code.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    You mean my recommendation actually worked? Dang, better to be lucky than smart!

    Good luck!

Similar Threads

  1. How to define boolean in the fields ?
    By racewithferrari in forum New To Java
    Replies: 3
    Last Post: 11-26-2009, 06:01 PM
  2. How to define constants in Java
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-17-2008, 07:39 PM
  3. What is an interface in the java? how to define
    By sivasayanth in forum New To Java
    Replies: 3
    Last Post: 01-14-2008, 04:13 AM
  4. How to define Bean Scope
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:43 PM
  5. Help with define an integer field
    By trill in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 07:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •