Originally posted by J Isberg:
A variabel of type char can be used both as a number an as a character, which means that it is possible to do calculations with it
Raghu J<br />SCJP 1.4<br /> <br />The Wind and waters are always<br />on the side of the ablest navigators.<br /><a href="http://groups.yahoo.com/group/scjp_share" target="_blank" rel="nofollow">SCJP Group</a><br /><a href="http://groups.yahoo.com/group/JavaBeat_SCWCD" target="_blank" rel="nofollow">SCWCD Group</a>
Originally posted by Raj:
Hi Raghu,
ur soln is good, only thing is that u need to do a Character.toString(ascending) + Character.toString(descending) while printing the character, otherwise it will print a integer equivalent of char
Regards, Rene Larsen
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Originally posted by Raj:
Hi Raghu,
ur soln is good,
What method can I use to turn that int into an ASCII character?