When using a get line function, which argument is optional?

A. max characters and delimiter
B. delimiter
C. starting character
D. none are optional


B. delimiter

Computer Science & Information Technology

You might also like to view...

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

1. The statement Clipboard.SetText(str) replaces the current contents of the Clipboard with the value of str. 2. Menus are designed with the MenuStrip control invoked from the Toolbox. 3. Given that the ANSI value for the letter A is 65, the pair of statements below will always display one of A, B, or C. Dim randomNum As New Random() txtBox.Text = Chr(randomNum.Next(65,68)) 4. The Clipboard object is used to move or copy information from one location to another, including from one Windows application to another. 5. A random number generator object can be declared with the following statement. Dim rndNum As New Random()

Computer Science & Information Technology

Perform the following task for an array called fraction:

Assign the value 3.333 to the array element with index 6.

Computer Science & Information Technology

Which of the following statements are correct to invoke the printMax method in Listing 7.5 in the textbook?

a. printMax(1, 2, 2, 1, 4); b. printMax(new double[]{1, 2, 3}); c. printMax(1.0, 2.0, 2.0, 1.0, 4.0); d. printMax(new int[]{1, 2, 3});

Computer Science & Information Technology

Which of the following is not true of EIGRP AS numbers?

a. Must be used with the router eigrp command. b. Your AS number must match the interface number. c. Only routers with the same AS number will share routing updates. d. All the above are true.

Computer Science & Information Technology