Search:

Type: Posts; User: Mr.777

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    1,540

    Re: Substring Retrieval Method Question

    if (!(Character.isUpperCase(ch))); {
    legal = false;
    System.out.println("Legal, but uses poor style.");
    }
    Is this supposed to function as if statement? It will not. What's semicolon...
  2. Replies
    12
    Views
    1,540

    Re: Substring Retrieval Method Question

    indexOf(int ch)
    Returns the index within this string of the first occurrence of the specified character.
    indexOf(int ch, int fromIndex)
    Returns the index within this string of...
  3. Replies
    12
    Views
    1,540

    Re: Substring Retrieval Method Question

    How can you justify the position differentiated with the string instead of integer?
    Maps are exceptions.
  4. Replies
    12
    Views
    1,540

    Re: Substring Retrieval Method Question

    1. Which Java Version are you using?
    2. Why do you need to find the index of space?
    3. What is variableName data type?
    4. indexOf() doesn't return String but an integer.
Results 1 to 4 of 4