Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

bufferedreader for input in java

BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter your name: ");
String name = reader.readLine();
System.out.println("Your name is: " + name);
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #bufferedreader #input #java
ADD COMMENT
Topic
Name
2+4 =