Solved

What Does the Following Statement Do

Question 56

Multiple Choice

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


A) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the String object message.
B) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the text area textField.
C) It creates a text area with 25 rows and 15 columns that will initially display the text stored in the String object message.
D) It creates a text area with 25 rows and 15 columns that will initially display the text "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