i need to know which is better? whether DataInputStream or BufferedReader or scanner?

which is better either DataInputStream or BufferedReader or scanner?

This is not much of a question, but a discussion and searching for opinions. I have seen that many use the Scanner class for getting input from the keyboard. Some, like myself, use the BufferedReader.

Why will someone use one over the other?

Or they both do the same thing when it comes something simple as that and their real difference is when it comes to using them for something more complex?

DataInputStream or BufferedReader or scanner which is better
but still i couldnt get it. explain with more codings to demonstrate which is better according to compiler view..?????

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.