
How do I get Java to return the ASCII value of a character?
Question: How do I get Java to return the ASCII value of a character? Answer: Java characters are encoded using Unicodes, two-byte codes that enable coding of non-Roman characters. Fortunately, Unicodes for Roman characters have the form 0x00yz where yz is the usual ASCII code.Second, due to Java’s stricter typing