Which of the following statements about strings is NOT true?

A. When you use the assignment operator to assign a string to a String variable, the computer allocates memory space large enough to store the string.
B. When a string is assigned to a String variable, the string cannot be changed.
C. The class String contains many methods that allow you to change an existing string.
D. A String variable is actually a reference variable.

Answer: C

Computer Science & Information Technology

You might also like to view...

Microsoft ________ is a hosted service that lets you connect with others through instant messaging, video calls, and online meetings

A) Outlook B) Lync C) Silverlight D) OneNote

Computer Science & Information Technology

Which of the following are benefits of using VPNs? (Choose three.)

a. Cost savings b. Complexity c. Security d. Scalability e. Adaptability

Computer Science & Information Technology