Skip to content

Instantly share code, notes, and snippets.

@JubbaSmail
Created January 8, 2015 16:07
Show Gist options
  • Save JubbaSmail/554e9aa72e9fc45414dd to your computer and use it in GitHub Desktop.
Save JubbaSmail/554e9aa72e9fc45414dd to your computer and use it in GitHub Desktop.
import java.util.Scanner;
public class MyProgram {
public static void main(String[] args) {
System.out.println("hello world");
Scanner input = new Scanner(System.in);
String x = input.nextLine();
System.out.println(x);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment