Self Check
- Look at the API documentation of the String
class. Which method would you
use to obtain the string "hello, world!" from the string "Hello,
World!"?
- In the API documentation of the String class, look at
the description of the trim method. What is the result of
applying trim to the
string " Hello, Space ! "?
(Note the spaces in the string.)