title: How do I create an IF statement with words?
body: <p>Usually an if statement: <code>if(variable==60) {system.out.println("60");}</code> </p>
  
  <p>BUT I want to test if <code>variable</code> was an exact match to a word. </p>
  
  <p>For example the user enters into a text box 'hello'  How would I create an if statement that says if the user enters 'hello' system.out.println.... ?  </p>