Solved

What Does the Following Statement Do

Question 35

Multiple Choice

What does the following statement do?
JTextArea textField = JTextArea(message, 25, 15) ;


A) It creates a text area with 25 rows and 15 columns that will initially display the text "message."
B) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the String object referenced by message.
C) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the JTextArea object referenced by textField.
D) It creates a text area with 25 rows and 15 columns that will initially display the text stored in the String object referenced by message.

Correct Answer:

verifed

Verified

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

Related Questions