Multiple Choice
When you are writing a program with String objects that may have unwanted spaces at the beginning or end of the strings, use this method to delete them.
A) replace
B) trim
C) valueOf
D) substring
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: This is the process of converting a
Q5: Look at the following code. Integer myNumber;<br>MyNumber
Q6: To convert the double variable, d =
Q7: What is the value of str after
Q8: The process of breaking a string down
Q9: To convert the string, str = "285.74"
Q10: Look at the following code: Integer myNumber
Q11: What will be the value of matches
Q30: The term _ commonly is used to
Q53: Which of the following statements will print