Computer Science, asked by lol60, 1 year ago

how to input character value using scanner in java

Answers

Answered by premkumar17
1
"To take character as a input through scanner class in java you need to create a object of the scanner class and use the object or call the object to take input at run time from user .Scanner s =newScanner(System.in)); charch=s.next().charAt(0); Through this you can insert a character using scanner class".

premkumar17: brainlist ma dal da bhai. plzzzzzz
Similar questions