Solved

What Is the Purpose of the Argument "Null" in the Statement

Question 54

Multiple Choice

What is the purpose of the argument "null" in the statement below: JOptionPane.showMessageDialog(null, "Show my message") ;


A) This argument is ignored by Java.
B) The output message will be placed in the upper left corner of the screen.
C) The output message will be placed in the middle of the screen.
D) It instructs Java to display the message immediately.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions