How to get a character from the user? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get a character from the user?

7th Jul 2016, 5:16 PM
Parichay Sharma
2 Answers
0
Scanner sc = new Scanner(System.in); char c = sc.next();
7th Jul 2016, 8:42 PM
Ravi Jain
Ravi Jain - avatar
0
Thanks Ravi
9th Jul 2016, 7:54 PM
Parichay Sharma