To read in a single character using the scanner:

Scanner keyboard = new Scanner(System.in);
char pKg= keyboard.next().charAt(0);