Type in and run the following program. Then modify it to show the message Hello, your name!.

Question:

Type in and run the following program. Then modify it to show the message “Hello, your name!”.


import javax.swing.JOptionPane;
public class DialogViewer
{
public static void main(String[] args)
{
JOptionPane.showMessageDialog(null, "Hello, World!");

}
}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: