Solved

What Does the Following Statement Do

Question 39

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents