Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

bufferedreader in java

Name: ­ 2009-02-25 22:27

is this the correct use of bufferedReader if I'm only using it once?

String s = BufferedReader(new InputStreamReader(System.in)).newLine();

Name: Anonymous 2009-02-25 23:18

>>5
Well, basically what I'm asking is, can it be done in one line?
i.e. I initialise bufferedreader while making the string.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List