Which Of These Method Of Class String Is Used To Remove Leading #377
Which of these method of class String is used to remove leading and trailing whitespaces?
This multiple choice question (MCQ) is related to the book/course
gs gs128 Java.
It can also be found in
gs gs128 Java String Handling - Searching & Modifying a String in java - Quiz No.1.
Which of these method of class String is used to remove leading and trailing whitespaces?
startsWith()
trim()
Trim()
doTrim()