Program to Retrieve Data From the User using Input Box and Output the same using Output Box
//Following Code written in Eclipse -Helios
import
public
class Input_box
{
{
String a=JOptionPane.showInputDialog(
null,"What is your name ?");
JOptionPane.showMessageDialog(
null, a);
}
}
No comments:
Post a Comment