【Basic Java Programming 28】
Let's code! I am talking about the "System in" and a "BufferedReader" class in Java.
====================================
[Practice]
Write the program that judges a specific character.
(Explanation)
The equals method of the String class compares between the argument and the variable of the String.
And then, if the argument is the same as the variable, return the "true" of the boolean type.
But if not, return the "false" of the boolean type.
[Specification]
・Display the "true" of the Boolean type if a user inputs "y."
・Display the "false" of the Boolean type if a user inputs "n."
・Display the "Error occurs." message on the prompt if a user inputs the other words.
・Use the readLine method of the BufferedReader class.
・Use the "try-catch" statement.
・The format specifier of the boolean type is "%b." You can decide whether you use it or not.
・Make sure you close the BufferedReader object.
====================================
◆ Format Converters in Java (Basic Java Programming 21)
• Format Converter in Java (Basic Java Progr...
◆ Practice 7: System in (BufferedReader, InputStreamReader) - answer
https://note.com/mac_makoto/n/nc01320...
◆ Makoto Official Site
https://sabay-sabay.asia/
En esta página del sitio puede ver el video en línea Practice 7: System in (BufferedReader, InputStreamReader) (Basic Java Programming 28) de Duración hora minuto segunda en buena calidad , que subió el usuario Basic Java Programming for Beginners 30 noviembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 68 veces y le gustó 1 a los espectadores. Disfruta viendo!