Answers for "how to get input from user in java using bufferedreader"

3

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);
Posted by: Guest on April-05-2022

Code answers related to "how to get input from user in java using bufferedreader"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language