Search:

Type: Posts; User: UM68

Search: Search took 0.26 seconds.

  1. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    Re: ; expected error

    I did post the exact error message and the line which it applies to. The exact error is: "java:40:error: ; expected"

    I have a ; there, so I'm not sure why it's flagging that code saying it's not...
  2. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    Re: ; expected error

    Still getting the error. I made the changes on the lines you pointed out, eventhough they weren't referenced in any of the errors. Still getting "java:40:error: ; expected". I concatenated and...
  3. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    Re: ; expected error

    I modified the println statements




    //Display the amount contained in the case selected by user
    //Display the amount contained in the case selected by user
    System.out.println("The case...
  4. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    Re: ; expected error

    I just tried to compile again. That's the only error received.
  5. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    Re: ; expected error

    I added comments codes for the referenced line:





    //Display the amount contained in the case selected by user
    System.out.println("The case you selected contains: " + val(arr[position]));
  6. Thread: ; expected error

    by UM68
    Replies
    13
    Views
    1,381

    ; expected error

    I'm getting the following error when trying to compile my code: "java:38:error: ; expected"

    I checked the line of the error referenced and I do have an ;




    import java.util.Random;
    import...
Results 1 to 6 of 6