Sign up for FlowVella
Sign up with FacebookAlready have an account? Sign in now
By registering you are agreeing to our
Terms of Service
Loading Flow
Using Scanner
import java.util.*;
public class ReadSomeInput {
public static void main(String[ ] args) {
Scanner input = new Scanner(System.in);
System.out.print("What is your name?") ;
String name = input.next( );
System.out.println("Congradulations " + name + " on your first interactive program!" );
}
}