how to input character value using scanner in java
Answers
Answered by
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
English,
7 months ago
Art,
7 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago