Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,182

    [SOLVED] Re: Information on toString()

    The first return leaves the method with the specified String object, so the second return is "unreachable." Put the entire String object in a single return statement. Either build the String object...
  2. Replies
    5
    Views
    1,182

    [SOLVED] Re: Information on toString()

    Have you never added a numeric variable to a String before? An example:

    int myValue = 5
    String newString = "" + myValue;
Results 1 to 2 of 2