/*Programmer: Miexie D. Tulid
*Date started: March 13, 2009
*Date ended: March 18, 2009
*Description: A program that reads a greeting from the user then prints it out. */
import java.util.Scanner;
public class HelloTester{
public static void main(String args[]){
String greet;
Scanner scan=new Scanner(System.in);
System.out.println("Enter Greeting:");
greet=scan.nextLine();
Hello h=new Hello(greet);
System.out.println(h.echo());
}
}
Wednesday, March 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment