Getting Input from user
Import java.io.*;
// Read a string from the user
String message;
message = stdin.readLine();
// Read numeric input from the user
String string1; int num1;
string1 = stdin.readLine();
num1 = Integer.parseInt(string1);
Previous slide
Next slide
Back to first slide
View graphic version