Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. [SOLVED] Re: One string Text message into array of strings(letters)

    If the user's input is not right, tell the user what the valid choices are and exit the program.
  2. [SOLVED] Re: One string Text message into array of strings(letters)

    What is on the command line when the program is executed? If the user entered:
    java CaesarBox - encrypt
    then args[0] woluld be "-" and args[1] would be "encrypt"

    Does the program want to...
  3. [SOLVED] Re: One string Text message into array of strings(letters)

    What is the value of args[0] when the program is executed?
  4. [SOLVED] Re: One string Text message into array of strings(letters)

    Please edit your post and wrap your code with code tags:


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.
  5. [SOLVED] Re: One string Text message into array of strings(letters)

    args[0] is a String not an array of String
    Try: String mess = args[0]....
  6. [SOLVED] Re: One string Text message into array of strings(letters)

    You are still not coding arrays correctly:
    () are used with methods
    [] are used with arrays
  7. [SOLVED] Re: One string Text message into array of strings(letters)

    What is args(0)? See post#4


    Please copy the full text of the error messages and paste it here.
  8. [SOLVED] Re: One string Text message into array of strings(letters)

    Note:
    [] are used with arrays
    () are used with methods and constructors
Results 1 to 8 of 8