// From A Beginning Programmer's Guide to Java
// at http://beginwithjava.blogspot.com/

// Referenced in the article 'Getting Keyboard Input for Console Apps: Java's Scanner Class'
// at http://beginwithjava.blogspot.com/2008/07/getting-keyboard-input-for-console-apps.html

import java.util.Scanner;

public class TrollTalk{
  public static void main(String arg[]){
    String nayme="";  // Declare & initialize a String to hold input.
    Scanner input=new Scanner(System.in); // Decl. & init. a Scanner.

    System.out.print("Whut yur nayme? >");  // Troll asks for name.
    nayme=input.next(); // Get what the user types.
    System.out.println();  // Move down to a fresh line.
    // Then say something trollish and use their name.
    System.out.println("Hur, hur! Dat's a phunny nayme, " + nayme + "!");
  }
}