The getText() method of a JTextField object returns an object of type:

(a) Double
(b) Integer
(c) Boolean
(d) String


(d) String

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. You can only add values of the string data type to a List Box control. 2. If a List Box is empty, the Items.Count property equals ?1. 3. The while loop gets its name from the way it works: While a Boolean expression is true, do some task. 4. If you are writing a while loop that has only one statement in its body, you do not have enclose the statement inside curly braces. 5. By indenting the statements in the body of a loop, you visually set the loop body apart from the surrounding code.

Computer Science & Information Technology

Windows uses a file's ____ to determine the application that opens it.

A. name B. extension C. type D. size

Computer Science & Information Technology

A word usage error is underlined with a(n) ________ wavy line.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Shell sort has only two additional complexities over the straight insertion sort. First, rather than a single array, we have an array of partitions. Second, whenever an exchange is made, ____.

A. two swap operations are needed B. the array needs to be traversed C. a recursive call is made D. we must fall back and verify the order of the partition

Computer Science & Information Technology