Re: "System.in.println()" not working/Replacement wanted ("in" NOT:out !!!)

Discussion in 'Java' started by dan, Aug 28, 2003.

  1. dan

    dan Guest

    try this:
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String line = in.readLine();

    -Dan
     
    dan, Aug 28, 2003
    #1
    1. Advertising

  2. dan <> scribbled the following
    on comp.lang.java.programmer:
    > try this:
    > BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    > String line = in.readLine();


    And how would this enable him to write a line there directly by
    another thread? Did you read his question?

    --
    /-- Joona Palaste () ---------------------------\
    | Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
    | http://www.helsinki.fi/~palaste W++ B OP+ |
    \----------------------------------------- Finland rules! ------------/
    "Make money fast! Don't feed it!"
    - Anon
     
    Joona I Palaste, Aug 28, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harvey
    Replies:
    0
    Views:
    721
    Harvey
    Jul 16, 2004
  2. Harvey
    Replies:
    1
    Views:
    856
    Daniel
    Jul 16, 2004
  3. Joona I Palaste
    Replies:
    3
    Views:
    4,047
    Will Clark
    Aug 28, 2003
  4. online.no
    Replies:
    4
    Views:
    394
  5. Deepak Kannan
    Replies:
    3
    Views:
    119
    Deepak Kannan
    Dec 29, 2010
Loading...

Share This Page