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

1) Method Trim removes all whitespace at the beginning and the end of a string.
2) It’s always better to use strings, rather than StringBuilders, because strings containing
the same value will reference the same object.
3) string method ToUpper creates a new string with the first letter capitalized.

1) True.
2) False. StringBuilder should be used if the string is to be modified.
3) False. string method ToUpper creates a new string with all of its letters capitalized

Computer Science & Information Technology

You might also like to view...

The ____ in a list is the value of the middle item when the values are listed in order.

A. mean value B. median value C. average value D. mode value

Computer Science & Information Technology

Columns are easy to create in Word. You click the Page Layout tab on the Ribbon, and then, in the ____ group, click the Columns button.

A. Page Setup B. Page Layout C. Edit D. Design

Computer Science & Information Technology