thenewboston

Java Programming Tutorial - 6 - Getting User Input

Aug 22nd, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. class apples{
  4.    public static void main(String args[]){
  5.       Scanner bucky = new Scanner(System.in);
  6.       System.out.println(bucky.nextLine());
  7.    }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment