P

Priyanka Tomar • 35.28K Points
Coach

Q. Which of these method of class String is used to remove leading and trailing whitespaces?

  • (A) startsWith()
  • (B) trim()
  • (C) Trim()
  • (D) doTrim()
  • Correct Answer - Option(B)
  • Views: 42
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics