Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3.  
  4. public class HelloWorld{
  5.  
  6. public static void main(String []args){
  7. Scanner input = new Scanner(System.in);
  8. System.out.println("Please enter a string..");
  9. String data = input.nextLine();
  10. System.out.println(data);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement