How to take input from buffer reader ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 4

How to take input from buffer reader ?

2nd Jun 2017, 9:33 AM
Vallery
Vallery - avatar
2 Respostas
+ 19
Adding to @Serena's answer : You have to throw/catch an IO Exception in most of the conditions ... public static void main(String[] args) throws IOException { ... IOException is aĀ checked exception. You must either catch it, or throw it to your calling method.Ā 
2nd Jun 2017, 9:41 AM
Dev
Dev - avatar
+ 6
That was Quick @Serena Thx And well explained.
2nd Jun 2017, 9:35 AM
Vallery
Vallery - avatar