Top Posters
Since Sunday
T
3
s
3
o
3
G
3
k
3
C
3
a
3
K
3
f
3
j
3
b
3
c
3
New Topic  
Oughto Oughto
wrote...
Posts: 742
Rep: 1 0
7 years ago
What will be the value of str after the following statements are executed?

StringBuilder str =
   new StringBuilder("We have lived in Chicago, " +
                     "Trenton, and Atlanta.");
str.replace(17, 24, "Tampa");

A) We have lived in Chicago, Tampaon, and Atlanta.
B) We have lived in Chicago, Trenton, and Tampa.
C) We have lived in Chicago, Tampa, and Atlanta.
D) We have lived in Tampa, Trenton, and Atlanta.
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 200 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Oughto Author
wrote...
7 years ago
makes a lot more sense, thanks for the help
wrote...
7 years ago
Good luck tackling the rest
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1303 People Browsing
Related Images
  
 327
  
 669
  
 4485
Your Opinion
What percentage of nature vs. nurture dictates human intelligence?
Votes: 436