Answer the following statements true (T) or false (F)
1. If a non-letter is passed to the toLowerCase or toUpperCase method, it is returned unchanged.
2. You can change the contents of a StringBuilder object, but you cannot change the contents of a String object.
3. If you are using characters other than whitespaces as delimiters, you will probably want to trim the string before tokenizing; otherwise, the leading and/or following whitespaces will become part of the first and/or last token.
4. If a non-letter argument is passed to the toLowerCase or toUpperCase method, the boolean value false is returned.
5.The following statement correctly creates a StringBuilder object.
1. TRUE
2. TRUE
3. TRUE
4. FALSE
5.FALSE
You might also like to view...
The _____________ component allows users to add and view multiline text.
a) JMultiArea b) JArea c) JTextArea d) JMultiLineArea
Usability testing:
a. settles all internal debates b. should be used only at the end of the product design process c. often reveals problems that are more significant than the issues the test was supposed to resolve
_________________________ was designed to provide devices with a method for notifying each other that a link is experiencing congestion before the routers start to drop packets.
Fill in the blank(s) with the appropriate word(s).
The ________ function is used to change NEW YORK to New York
A) LOWER B) PROPER C) CONCATENATE D) UPPER