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...

Write a script that calculates the product of the odd integers from 1 to 15 and then outputs HTML text that displays the results.

What will be an ideal response?

Computer Science & Information Technology

If you are going to use Legacy tools, you need to save your file in the 2010-2016 format

Indicate whether the statement is true or false

Computer Science & Information Technology

What does it mean when a macro is stored in this workbook?

a. None of the others b. We can run this macro whenever Excel is opened. c. We can run this macro when we create a new workbook d. We can only run this macro when this excel file is opened.

Computer Science & Information Technology

Which of the following is an XML based open standard used in the exchange of authentication and authorization information between different parties?

A. LDAP B. SAML C. TACACS+ D. Kerberos

Computer Science & Information Technology