title: what does the "?" and ":" sign mean in a line of java code?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10336899/what-is-a-question-mark-and-colon-operator-used-for">What is a Question Mark “?” and Colon “:” Operator Used for?</a><br>
    <a href="https://stackoverflow.com/questions/12434021/question-mark-in-java-code">Question mark in java code</a>  </p>
  </blockquote>
  
  
  
  <p>I am writing codes for a RBG to HSV converter.
  I have this line:</p>
  
  <pre><code>var d = (r==minRGB) ? g-b : ((b==minRGB) ? r-g : b-r);
  </code></pre>
  
  <p>i dont really understand what the "?" and the ":" means here.</p>