Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    Please copy the full text of the error message and paste it here.
  2. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    The index for an array at line 161 is past the end of the array. Look at the code at and before line 161 and see why the index got too big.
    Remember array indexes range in value from 0 to the array...
  3. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    Where is the source line that is causing that error?

    The compiler found an int value/variable where it expected a boolean variable/value.
    Look at the code where the error is, Find the int value...
  4. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    Copy the text of the compiler's error into the clipboard and paste it here on the forum.
    The same as pasting java source code here: copy and paste.
  5. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    The compiler found an int value/variable where it expected a boolean variable/value.

    Can you post the full text of the error message that shows the statement with the error?
    Here is a sample of a...
  6. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    If there are error messages, copy the full text and paste it here.
    Otherwise please explain what the problem is.
  7. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    An int is not an object and does not have any methods you can call using an int variable. For example:

    int x = 1;
    x.size(); // int cannot be dereferenced
  8. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    Did you add the missing return? Is the problem fixed now?
  9. Replies
    32
    Views
    3,919

    Re: missing return statement need help!!

    Please post the full text of the error message.

    Add the return statement that the compiler is asking for,
Results 1 to 9 of 9