ch4sethe5un
02-06-2010, 05:09 AM
Im still learning the java language, but i came upon the InputStreamReader then using a BufferedReader way of reading input from the console.
My teacher tells us to use Scanner.
Which is more common out in the real world and which has more benefits?
If its something i shouldn't be worrying about until later, then i am just curious which is used more or are they used for different purposes?
Thanks =]
My teacher tells us to use Scanner.
Which is more common out in the real world and which has more benefits?
If its something i shouldn't be worrying about until later, then i am just curious which is used more or are they used for different purposes?
Thanks =]