title: Java: boolean in println (boolean ? "print true":"print false")
body: <p>I came across this syntax:</p>
  
  <pre><code>System.out.println(boolean_variable ? "print true": "print false");
  </code></pre>
  
  <ul>
  <li>What is this syntax with two dots : called? </li>
  <li>Where can I find info about it?</li>
  <li>Does it work just for booleans or is it implemented in other different ways?</li>
  </ul>