Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: I wanted to output the string itself, but the output looks like it's been encrypted or something

    Try debugging the code by printing out the characters that are being replaced as they are replaced inside the loop.

    Also work though the logic with paper and pencil to see what is happening and to...
  2. Re: I wanted to output the string itself, but the output looks like it's been encrypted or something

    What is the code supposed to do?
    Can you add some comments to the code saying what it is trying to do?
    Describe what the program will do when the Strings are the same length and what it is...
  3. Re: I wanted to output the string itself, but the output looks like it's been encrypted or something

    The code uses an index 11 that is past the end of the list. The list has less that 12 elements.
    Check that the code does not use an index past the end of the list.

    The code needs to test the...
  4. Re: I wanted to output the string itself, but the output looks like it's been encrypted or something

    That is the String returned by the default toString method for a char array. If you want to see a String, use one of the String class's constructors that take a char array and create a String from...
Results 1 to 4 of 4