A Admin • 828.03K Points Coach Q. What does trim() do? (A) Removes all spaces in the string (B) Removes leading and trailing whitespace (C) Removes characters from the end (D) Removes newline characters only Correct Answer - Option(B) Views: 4 Filed under category Java Hashtags: Java Strings Share Manage Tags
Discusssion
Login to discuss.