Conditional operator in Java : <p>Executing the following program is producing the following result, please explain the reason why the value of sum is 120 and of price is 100.</p>

<pre><code>double sum=10, price =100;
sum+=price&gt;=100?price * 1.1 : price;
Syso(sum);
Syso(price);
</code></pre>

<p>The output is
120
100</p>
