Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    9
    Views
    1,220

    Re: Illegal start of expression!

    Try it and see what happens.
  2. Replies
    9
    Views
    1,220

    Re: Illegal start of expression!

    Where is the ^ located in the error message?


    The % at the end of that arthmetic expression is the modulus operator and needs a numeric value after it to make it a value arithmetic expression. ...
  3. Replies
    9
    Views
    1,220

    Re: Illegal start of expression!

    Please copy and paste here the full text of the error messages. Put the messages in code tags to preserve the location of the ^.
    Here is a sample:


    TestSorts.java:138: cannot find symbol...
  4. Replies
    9
    Views
    1,220

    Re: Illegal start of expression!

    The println method takes a single argument. The code you posted is giving it more than one arg separated by a comma
    Check that you are using the correct method. There are other printing methods...
Results 1 to 4 of 4