Computer Science, asked by alishapawase73, 2 months ago

How we can use ASCII character values in java?

Answers

Answered by Anonymous
0

\huge\purple{\mathbb{Answer:}}

Very simple. Just cast your char as an int . char character = 'a'; int ascii = (int) character; In your case, you need to get the specific Character from the String first and then cast it.

Answered by TheBestWriter
2

 \mathbb {answer}

Very simple. Just cast your char as an int . char character = 'a'; int ascii = (int) character; In your case, you need to get the specific Character from the String first and then cast it.

Similar questions