Home / Questions / What is the statement to display the message "Hello world" in a message dialog box?
Explanatory Question

What is the statement to display the message "Hello world" in a message dialog box?

👁 2,534 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

JOptionPane.showMessageDialog(null, "Hello world");