+ 8
How to accept a character in java without using scanner class?
6 Respostas
+ 11
india
+ 5
Crystal!!
Another way to get input.
JOptionPane class is used to provide standard dialog boxes such as message dialog box, confirm dialog box and input dialog box. These dialog boxes are used to display information or get input from the user. See how to implement it and more related to it. It can used in place of scanner class.
https://www.javatpoint.com/java-joptionpane
+ 3
Hello where are you from?
+ 2
You can use buffer reader to accept inputs without using scanner.
+ 1
import the console module and use ReadLine() or Read()