Nuacht

How to add Java Scanner char support The Java Scanner class provides methods that take String input and convert that String into any Java primitive type you might need, except for one: the char.
Java program to check frequency of characters in a string Algorithm Take string input from user and store it in the variable called “str”. After that make freq array having size of length of string.
Character.getNumericValue(aChar) will let me convert a char into an int. I want to know how I can reverse the process and get a char from an integer? Thanks.