Q. Which of these method of class String is used to remove leading and trailing whitespaces?
β
Correct Answer: (B)
trim()
You must be Logged in to update hint/solution