Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: "System.in.println()" not working/Replacement wanted ("in" NOT:out !!!)

Reply
Thread Tools

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

 
 
dan
Guest
Posts: n/a
 
      08-28-2003
try this:
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line = in.readLine();

-Dan
http://www.velocityreviews.com/forums/(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Joona I Palaste
Guest
Posts: n/a
 
      08-28-2003
dan <(E-Mail Removed)> 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 ((E-Mail Removed)) ---------------------------\
| 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connection not wanted? Frank Wireless Networking 10 07-14-2005 10:45 PM
WANTED: AT desktop cases, wanted for sculpture. Brett NZ Computing 0 09-09-2004 07:14 AM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 1 07-16-2004 01:12 PM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 0 07-16-2004 10:00 AM
Re: "System.in.println()" not working/Replacement wanted ("in" NOT:out !!!) Joona I Palaste Java 3 08-28-2003 08:45 PM



Advertisments