πŸ“Š JAVA
Q. Which of these method of class String is used to remove leading and trailing whitespaces?
  • (A) startsWith()
  • (B) trim()
  • (C) Trim()
  • (D) doTrim()
πŸ’¬ Discuss
βœ… Correct Answer: (B) trim()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
127
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
99%
Success Rate