+ 8

How to accept a character in java without using scanner class?

15th Aug 2018, 7:52 AM
Crystal!!!😎
Crystal!!!😎 - avatar
6 Respuestas
+ 11
india
3rd Dec 2018, 7:59 PM
Crystal!!!😎
Crystal!!!😎 - avatar
+ 7
thanks😊😊 hinanawi Akash Pal
15th Aug 2018, 9:20 AM
Crystal!!!😎
Crystal!!!😎 - avatar
+ 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
15th Aug 2018, 8:56 AM
Akash Pal
Akash Pal - avatar
+ 3
Hello where are you from?
3rd Dec 2018, 7:39 PM
Avinash raj
Avinash raj - avatar
+ 2
You can use buffer reader to accept inputs without using scanner.
24th Apr 2019, 4:44 PM
Saroj Kumar Sahoo
Saroj Kumar Sahoo - avatar
+ 1
import the console module and use ReadLine() or Read()
15th Aug 2018, 8:11 AM
hinanawi
hinanawi - avatar