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 56 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?

On average, someone in the United States has a stroke about every 40 seconds. This is about 795,000 people per year.

Did you know?

To maintain good kidney function, you should drink at least 3 quarts of water daily. Water dilutes urine and helps prevent concentrations of salts and minerals that can lead to kidney stone formation. Chronic dehydration is a major contributor to the development of kidney stones.

Did you know?

Most strokes are caused when blood clots move to a blood vessel in the brain and block blood flow to that area. Thrombolytic therapy can be used to dissolve the clot quickly. If given within 3 hours of the first stroke symptoms, this therapy can help limit stroke damage and disability.

Did you know?

When intravenous medications are involved in adverse drug events, their harmful effects may occur more rapidly, and be more severe than errors with oral medications. This is due to the direct administration into the bloodstream.

Did you know?

Alzheimer's disease affects only about 10% of people older than 65 years of age. Most forms of decreased mental function and dementia are caused by disuse (letting the mind get lazy).

For a complete list of videos, visit our video library