Question:

Character By Character Input In Java 2. I want to read char data types from the user because i

by Guest10740994  |  2 years, 9 month(s) ago

0 LIKES UnLike

I want to read char data types from the user because i want to use it in (switch statement)
But the problem is I can't make it, to get input from the user using charVariables=input.readLine() is not working ; Yeah i know it is done using String data types but another problem is, String data types is incompatible in switch statement..

Anybody could extend their help.. How can i get input using char data types.. Is their another way to do that?

Thanks..

SirBenj

 Tags:

   Report
SIMILAR QUESTIONS
CAN YOU ANSWER?

Question Stats

Latest activity: 2 years, 9 month(s) ago.
This question has been viewed 351 times and has 0 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.