This topic contains a solution. Click here to go to the answer

Author Question: The StringBuilder methods ________ not only change the contents of a string buffer, but also returns ... (Read 66 times)

B

  • Hero Member
  • *****
  • Posts: 570

Question 1

Assume StringBuilder strBuf is "ABCCEFC", after invoking ________, strBuf contains "ABTTEFT".
◦ strBuf.replace(2, 7, "TTEFT")
◦ strBuf.replace("CC", "TT")
◦ strBuf.replace("C", "T")
◦ strBuf.replace('C', "TT")
◦ strBuf.replace('C', 'T')

Question 2

The StringBuilder methods ________ not only change the contents of a string buffer, but also returns a reference to the string buffer.
◦ insert
◦ replace
◦ delete
◦ reverse
◦ append


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by B on May 6, 2020

mk6555

  • Sr. Member
  • ****
  • Posts: 310
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 29% of students answer this correctly




B

  • Member
  • Posts: 570
Reply 2 on: May 6, 2020
Thanks for the timely response, appreciate it


vickyvicksss

  • Member
  • Posts: 351
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

The first oncogene was discovered in 1970 and was termed SRC (pronounced "SARK").

Did you know?

If all the neurons in the human body were lined up, they would stretch more than 600 miles.

Did you know?

Human stomach acid is strong enough to dissolve small pieces of metal such as razor blades or staples.

Did you know?

More than 4.4billion prescriptions were dispensed within the United States in 2016.

Did you know?

Over time, chronic hepatitis B virus and hepatitis C virus infections can progress to advanced liver disease, liver failure, and hepatocellular carcinoma. Unlike other forms, more than 80% of hepatitis C infections become chronic and lead to liver disease. When combined with hepatitis B, hepatitis C now accounts for 75% percent of all cases of liver disease around the world. Liver failure caused by hepatitis C is now leading cause of liver transplants in the United States.

For a complete list of videos, visit our video library