title: Need to fix program in Java
body: <p>I want user to input text while it is not equal to "start".When it is equal to "start" I want to show "Bravo".In my code when I enter "start" it just continue to ask to input a text.What is missing in my code to process the operation i described.</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Application {
    public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      String komanda = "a";
      do { 
          System.out.println("Unesi komandu ");
          komanda = input.nextLine();
      }
      while(komanda != "start");
      System.out.println("Bravo");
    }
  }
  </code></pre>