Chapter 7 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

how do text processing applications examine and manipulate the characters in strings?

A
  1. separating strings into segments
  2. searching for or replacing specific characters or substrings
  3. inserting text into a string
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly