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

Total Post:6

Points:42
Posted on    March-01-2011 2:57 AM

 Java Java 
Ratings:


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


Amit Singh

Total Post:103

Points:721
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