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

1) Method Replace can be used to change all occurrences of a desired
character to another character.
2) When passed a white space, method Trim can be used to eliminate all
characters from a string.
3) When the Trim method is passed a character array, it returns a string
without any of the characters found within that array.
4) When using the Replace method, the first character passed in is the letter
to be replaced and the second is what it will be replaced by.
5) strings cannot be changed.


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

Computer Science & Information Technology

You might also like to view...

Given the following, which of the statements below is not true?

``` str.insert(8, 32); ``` a. str is a StringBuilder type object. b. The insert will start at position 32. c. The starting position for the insert is 8. d. The literal number 32 will be inserted.

Computer Science & Information Technology

Captions can be positioned above or below a selected item, such as a table

Indicate whether the statement is true or false

Computer Science & Information Technology

In the task pane, what does a diagonal white triangle next to a chart category indicate?

A) There are no options for this category. B) None of the category's options are displayed. C) All the category's options are displayed. D) Every option for this category have already been chosen.

Computer Science & Information Technology

What process will remove all private and public keys along with the user's identification information in the CA?

A. suspension B. deletion C. destruction D. revocation

Computer Science & Information Technology