title: how to print the longest of three strings?
body: <p>Is there a quick way to select the longest of three strings (s1,s2,s3) using if/else method?</p>
  <p>I'm using Java</p>
  <p>I have tried using something like this</p>
  <pre><code>if (s1.length() &gt; s2.length()) {
      System.out.println(s1); ...
  </code></pre>
  <p>but did not get it right.</p>