Computer Science, asked by aryan7274, 1 year ago

How is character entered using Scanner class in java?

Answers

Answered by NirmaliteRishit
0
Using the statement
SC. Next ()
Let ch be the variable to store character then upon asking the user to enter the character...
Ch=SC.next(); will conver the entered info to char n store it in ch.
Similar questions