how to take input of char in java powered by(view source)

Description this program shows how to take input of character in java. since its not possible to take input of character using scanner function,thus this is the way to take single character as input
Output