Home > DeveloperSection > Forums > Problem in taken input from console
sourabh kumar
sourabh kumar

Total Post:6

Posted on    March-01-2011 2:57 AM

 Java Java 

 1 Reply(s)
 1144  View(s)
Rate this:
how to taken input from console in java?
give the syntax in java

Amit Singh

Total Post:103

Posted on    March-01-2011 3:26 AM

in java we take an input from console using bufferreader class
for example:

BufferedReader reader = new BufferedReader(System.in);
String input = reader.readLine();

Don't want to miss updates? Please click the below button!

Follow MindStick