[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



No problem :)

> >int diff = '5' - '2';
> >
> >And diff becomes 3.
> 
> That works in java?

Yep.  The char data type has some interesting possibilities, because
it's the only unsigned data type in java.  So if you ever need to use a
16 bit unsigned short in java, char is your friend.

Jason
-- 
Jason Day                                       jasonday at
<a  rel="nofollow" href="http://jasonday.home.att.net";>http://jasonday.home.att.net</a>                    worldnet dot att dot net
 
&quot;Of course I'm paranoid, everyone is trying to kill me.&quot;
    -- Weyoun-6, Star Trek: Deep Space 9


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00016" href="msg00016.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> vinson.lists at charter.net (Jason Vinson)</li></ul></li>
<li><strong><a name="00033" href="msg00033.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00051" href="msg00051.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</li></ul></li>
<li><strong><a name="00053" href="msg00053.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00057" href="msg00057.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</li></ul></li>
<li><strong><a name="00058" href="msg00058.html">[ale] Introduction</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00081.html">[ale] Gah... LISA Conference</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00083.html">[ale] OT: Driving in snow...</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00058.html">[ale] Introduction</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00087.html">[ale] Introduction</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00082"><strong>Date</strong></a></li>
<li><a href="threads.html#00082"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>