Question
Which of these method of class String is used to remove leading and trailing whitespaces?
Answer: Option B
Was this answer helpful ?
trim()
Was this answer helpful ?
Submit Solution