-1

I have researched and there does not seem to be a way to get a char from the user. If there is any way to do this I would be greatly appreciated if someone could show me.

1 Answers1

0

String.charAt(0)

Example:

Scanner sc = new Scanner(System.in);
char ch = sc.nextLine().charAt(0);
ub3rst4r
  • 2,288
  • 20
  • 33