Programmer : Dandy A. Macaubos ProgramName : Hello Object Purpose: To create a program that prints out a greeting to an object that is given by the user. Date : March 17,2009 Instructor : Dony Dongiapon
*/
import javax.swing.*;
public class Reverse
{
public static void main(String args[]){
String i=JOptionPane.showInputDialog("Enter Greeting:");
System.out.println("Enter Greeting:"+i);
System.out.println("\n"+i);
}
}
No comments:
Post a Comment