0

How can effectively use scanner Input and in what what ways can it be imported?

Java question

16th Jul 2020, 6:40 PM
Chibundu Omoji
2 Answers
0
The Scanner class is inefficient, but for testing purposes always remember to close the data request with its close () method, instead of using Scanner you can use BufferedReader which is more efficient. https://www.google.com/amp/s/www.geeksforgeeks.org/java-io-bufferedreader-class-java/amp/ I hope this help you.
16th Jul 2020, 6:46 PM
Emanuel MaliaƱo
Emanuel MaliaƱo - avatar
17th Jul 2020, 1:53 AM
Chibundu Omoji