difference between scanner and buffereader class
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
↙️↘️◆↙️↘️◆↙️↘️◆↙️↘️◆↙️↙️◆↘️↙️
[tex]\huge{\underline{\mathscr{\purple{Hey,mate..!}}}}[/tex]
[tex]\huge{\red{\mathfrak{Answer}}}[/tex]
❣️❖ ── ✦ ──『✙』── ✦ ── ❖❣️
[tex]\huge\boxed{ \fcolorbox{blue}{yellow}{ \: hello \:}}[/tex]
[tex]\huge{ \underline{ \boxed{ \mathfrak{ \red{ Good\: Night}}}}}[/tex]
[tex] \huge\bold{ \blue{ \star{ \green{Dear \: Friend}}}}[/tex]
✌️I alone, but not an idle man✌️
⏭️One of the main difference between BufferedReader and Scanner class is that former class is meant to just read String or text data while Scanner class is meant to both read and parse text data into Java primitive types like int, short, float, double, and long.
【◆】●【◆】●【◆】●【◆】●【◆】●【◆】
[tex]<marquee r]
[tex]\large{\red{\boxed{\mathbb{Hope\: It\: Helps}}}}[/tex]
❣️❖ ── ✦ ──『✙』── ✦ ── ❣️
Royal Krish
Answer:
One of the main difference between BufferedReader and Scanner class is that former class is meant to just read String or text data while Scanner class is meant to both read and parse text data into Java primitive types like int, short, float, double, and long.