Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds


  Asked By: Asksuresh    Date: Dec 28    Category: Java    Views: 720

how can i get an input from the command line using
input streams sure .. that this input will be a text in any format
(String, Char, integers... ) i mean something like cin<< in C++ .
Please if you can't understand the question tell me and i'll try to
resend it again in wellform



2 Answers Found

Answer #1    Answered By: Dennis Hayes     Answered On: Dec 28

You can read from System.in which is the standard input  stream.

Answer #2    Answered By: Canan Kaya     Answered On: Dec 28

Here is a bit of good info that might relate to your situation.


Didn't find what you were looking for? Find more on Streams Or get search suggestion and latest updates.