loss of precision when assigning to a variable
<p>i had a doubt in assigning or casting to a proper data type.</p>

<pre><code>byte a=3;   //compiled
byte b=5;   //compiled
byte c=a+b; //not compiled and reporting as possible loss of precision.
</code></pre>

<p>here first two statements are compiling even though we are assigning int literal to byte.but what about third statement i am doing the same as above and that too value of a+b is in the range of byte .why there is such error?</p>
