Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Replies
    12
    Views
    1,481

    Re: how do you compare words?

    http://www.java-forums.org/new-java/65074-typing-application.html
  2. Replies
    12
    Views
    1,481

    Re: how do you compare words?

    Not just complicated, incorrect (see my post above, which somehow was invisible for a short time).

    If you wish to compare a String to another, use the equals() method. If you wish to check if a...
  3. Replies
    12
    Views
    1,481

    Re: how do you compare words?

    No, and no. Java does not have a 'built in function strcmp', and == compares objects, not the object value (calling String.equals() method on the instance compares the value). Given this is your...
Results 1 to 3 of 3