title: How to use 'or' in Java?
body: <p>I'm quite new to Java, and can't figure out how to use 'or'. What is the Java equivalent? 
  I've already tried <code>&amp;&amp;</code> and <code>||</code> but eclipse does not recognise it. </p>
  
  <p>This is part of my code:</p>
  
  <pre><code>if (action.equals ("run") || ("sprint")) {
      System.out.println("you ran");
  }
  else {
      System.out.println("else");
  }
  </code></pre>