difference between assigning an int and an int literal to a byte ?
<pre><code>byte b = 100 ; 
</code></pre>

<p>compiles without any errors, but </p>

<pre><code>int i = 100 ; 
byte b = i ; 
</code></pre>

<p>throws an error. Why? Even when assigning 100 directly to b, we are assigning an int literal. So why did I get an error?</p>
