How can a char be entered in Java from keyboard?
You can use Scanner like so:
Scanner s= new Scanner(System.in); char x = s.next().charAt(0);
By using the charAt function you are able to get the value of the first char without using external casting.