Class HelloWorldBuilder

java.lang.Object
  |
  +--HelloWorldBuilder

public class HelloWorldBuilder
extends java.lang.Object

Create HelloWorld class:

 import java.io.*;

 public class HelloWorld {
   public static void main(String[] argv) {
     BufferedReader in   = new BufferedReader(new InputStreamReader(System.in));
     String name = null;
 
     try {
       System.out.print("Please enter your name> ");
       name = in.readLine();
     } catch(IOException e) { return; }
 
     System.out.println("Hello, " + name);
   }
 }
 

Version:
$Id: HelloWorldBuilder.java,v 1.3 2001/05/09 09:26:57 dahm Exp $
Author:
M. Dahm

Constructor Summary
HelloWorldBuilder()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorldBuilder

public HelloWorldBuilder()
Method Detail

main

public static void main(java.lang.String[] argv)