import java.io.*; class HelloYou2 { /* A program that prompts for your name then says hello to you personally. Uses the Text input/output class (from Judy Bishop's "Java Gently") */ public static void main(String[] args) throws IOException { String name; BufferedReader in = Text.open(System.in); System.out.print("Please type your name: "); name=Text.readString(in); System.out.println("Hello "+name); System.out.println("Welcome to QMW"); } }