> How do I use asc() and chr() in java?
> System.out.prin tln((int)'A');
> System.out.prin tln((char)65);
But what if 'A' and 65 are stored in variables... NOT literals?
> System.out.prin tln((int)s);
> System.out.prin tln((char)n);
(I sure wish this site allowed "REPLY" rather than "ASK A NEW QUESTION". Ugh.)
> System.out.prin tln((int)'A');
> System.out.prin tln((char)65);
But what if 'A' and 65 are stored in variables... NOT literals?
> System.out.prin tln((int)s);
> System.out.prin tln((char)n);
(I sure wish this site allowed "REPLY" rather than "ASK A NEW QUESTION". Ugh.)
Comment