Results 1 to 3 of 3
  1. #1
    Fred1 is offline Member
    Join Date
    Apr 2011
    Posts
    18
    Rep Power
    0

    Default I don't know what is happening

    Can someone tell me why i keep getting an error in my program. for 40 going down its tells me that class, interface, or enum expected. it happen after i put my compareTO and equal method in.
    Attached Files Attached Files

  2. #2
    Iron Lion is offline Senior Member
    Join Date
    Nov 2010
    Posts
    210
    Rep Power
    4

    Default

    Looks like you've got one too many curly brackets after your compareTo() method declaration.

  3. #3
    Fred1 is offline Member
    Join Date
    Apr 2011
    Posts
    18
    Rep Power
    0

Posting Permissions

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