Chapter 7 Flashcards
1
Q
how do text processing applications examine and manipulate the characters in strings?
A
- separating strings into segments
- searching for or replacing specific characters or substrings
- inserting text into a string
2
Q
True or False: String objects are immutable. No mutators are in the String class
A
True; String objects are immutable; no mutators are in the String class
3
Q
True or False: a string starts at index -1 and ends at index length() 0
A
False, a string starts at index 0 and ends at index length in String class