To get the char code in Java you can use the following snippet.
Sample Java
System.out.println((int)'C'); // prints 67
All the Code Snippets and Samples you need
To get the char code in Java you can use the following snippet.
System.out.println((int)'C'); // prints 67
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to get the char code in #Java http://t.co/tl3UN2aSlJ #programming #code #coding #dev #developer