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

1) A method such as Main “drives” an object by calling its
methods—without having to know how the class’s internal mechanisms work. In this sense, the class containing method Main is referred to as a driver class.
2) Method ReadLine reads a whole line, including all the characters the user
types up to and including the newline that the user typed by pressing Enter.
3) ```
myAccount.SetName(theName);
calls myAccounts’s SetName method, passing theName’s value as SetName’s
argument.
```
4) The default initial value for string instance variables is the empty string.

1) T
2) F
3) T
4) F

Computer Science & Information Technology

You might also like to view...

Another name for commercial software is ________ software

Fill in the blank(s) with correct word

Computer Science & Information Technology

To move text from one column to the next, insert a:

a. column break b. section break c. page break

Computer Science & Information Technology