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 55 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
Gracias!


blakcmamba

  • Member
  • Posts: 335
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

According to the FDA, adverse drug events harmed or killed approximately 1,200,000 people in the United States in the year 2015.

Did you know?

The horizontal fraction bar was introduced by the Arabs.

Did you know?

Earwax has antimicrobial properties that reduce the viability of bacteria and fungus in the human ear.

Did you know?

In the United States, congenital cytomegalovirus causes one child to become disabled almost every hour. CMV is the leading preventable viral cause of development disability in newborns. These disabilities include hearing or vision loss, and cerebral palsy.

Did you know?

The U.S. Preventive Services Task Force recommends that all women age 65 years of age or older should be screened with bone densitometry.

For a complete list of videos, visit our video library