

MCQOPTIONS
Saved Bookmarks
1. |
Which of these method of class String is used to remove leading and trailing whitespaces? |
A. | startsWith() |
B. | trim() |
C. | Trim() |
D. | doTrim() |
Answer» C. Trim() | |