Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    21
    Views
    1,804

    [SOLVED] Re: Cannot return string in the method

    The variable: box is not a String. You need to look at the assignment to see what the method should return.


    NOTE: All posts for this topic have been merged.
  2. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    Call the println() at the end of each row to put the next row on a new line.

    The encrypt method should return the encrypted String, not the array it uses to build the String.
    Go back and read the...
  3. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    You need to add line end character at the place in the output where you want the following characters to go to a new line. The print() method will print everything on the same line.
    Call the...
  4. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    Is the code working now? If you are having problems, please explain.
  5. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    The max index for s is 31. The error message says there was an index with a value of 32.
    What printed out for the value of counter?


    Post the output and the statement that is making it. Why do...
  6. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    box is an array of arrays. Its size is 6
    box[i] is one of the arrays that is in the box array. What was its size?

    What were the other values requested in post#7 that were printed out?
  7. Replies
    21
    Views
    1,804

    [SOLVED] Re: Encrypting a text message

    Add a println statement just before the statement where the error happens that prints out the values of the indexes: i, j and counter.
    Also print out the size of the arrays that are being indexed:...
Results 1 to 7 of 7