Conversions and Promotions
<p>I just wondering why this works (in Java):</p>

<pre><code>byte b = 27;
</code></pre>

<p>but being method declared like this:</p>

<pre><code>public void method(byte b){
    System.out.println(b);
}
</code></pre>

<p>This doesn't work:</p>

<pre><code>a.method(27);
</code></pre>

<p>Gives a Compiler error as follows:</p>

<pre><code>`The method method(byte) in the type App is not applicable for the arguments (int)`
</code></pre>

<p>Reading <a href="http://java.sun.com/docs/books/jls/second%5Fedition/html/conversions.doc.html" rel="nofollow">this</a> doesn't give me any clue (probably i am missunderstanding something).</p>

<p>Thanks in advance.</p>
