Question: What does the following line of code do? Textfield text = new Textfield(10); (a) Creates text object that can hold 10 rows of text. (b)

What does the following line of code do? Textfield text = new Textfield(10);

(a) Creates text object that can hold 10 rows of text.

(b) Creates the object text and initializes it with the value 10.

(c) Creates text object that can hold 10 columns of text.

(d) The code is illegal.

Step by Step Solution

3.40 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c Creates ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Advanced Java Programming Questions!