Which of these method of class String is used to remove leading and trailing whitespaces?
Posted: Wed Jul 13, 2022 7:46 pm
a) startsWith()
b) trim()
c) Trim()
d) doTrim()
b) trim()
c) Trim()
d) doTrim()
Accurate answers. Every time.
https://answerhappy.com/