InputStreamReader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stmfc
    New Member
    • May 2007
    • 65

    InputStreamReader

    is it possible to read values from Standard input
    without using InputStreamRead er ?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by stmfc
    is it possible to read values from Standard input
    without using InputStreamRead er ?
    This is probably one of those trick questions right?
    I'd say java treats the standard input as an InputStream so you're stuck with it. However, you can wrap that input sream into more friendlier classes like BufferedReader and most importantly into the Scanner class.

    Comment

    Working...