Tuesday, March 17, 2009

IT134 exercise # 5: HeLLo Object

exercise # 5: HeLLo Object 


ProgrammerName: Odoy, Montanio
ProgramName: HeLLo Object

Purpose: To Learned how to create a program where
the greeting that is printer by the object is given by the use.

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