The method __________ gets the contents of the text field tf.

a. tf.getText(s)
b. tf.getText()
c. tf.getString()
d. tf.findString()


b. tf.getText()

Computer Science & Information Technology

You might also like to view...

If objects of all the classes derived from the same base class all need to draw themselves, the draw function would most likely be declared:

a. private b. virtual c. protected d. friend

Computer Science & Information Technology

Which statement is false?

a. The actual data representation used within the class is of no concern to the class’s clients. b. Clients generally care about what the class does but not how the class does it. c. Clients are usually involved in a class’s implementation. d. Hiding the implementation reduces the possibility that clients will become dependent on class-implementation details.

Computer Science & Information Technology

A ________ function is one that calls itself.

A) dynamic B) static C) recursive D) data validation E) None of the above

Computer Science & Information Technology

What is the output of the following code?

``` #include using namespace std; void f(double &p) { p += 2; } int main() { double x = 1; double y = 1; f(x); f(y); cout << "x is " << x; cout << " y is " << y << endl; return 0; } ``` a. x is 2 y is 1 b. x is 3 y is 3 c. x is 2 y is 2 d. x is 1 y is 1 e. x is 1 y is 2

Computer Science & Information Technology