Purpose of char in java
<p>I'm seeing both char and short are two bytes each, 
also the following is valid:</p>

<pre><code>char a = 'x';
int b =  a;
long c = a;
</code></pre>

<p>However when I do short d = a; I'm getting an error that cannot convert from char to short.
even though both are two bytes.</p>

<p>One use of char I can see is when you print it, it displays the character. Is that the only use of char?</p>
