Q62
Which of these method of class String is used to remove leading and trailing whitespaces?
A.
startsWith()
B.
trim()
AnswerC.
Trim()
D.
doTrim()
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board