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 54 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!


brbarasa

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

 

Did you know?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

Did you know?

As of mid-2016, 18.2 million people were receiving advanced retroviral therapy (ART) worldwide. This represents between 43–50% of the 34–39.8 million people living with HIV.

Did you know?

Blood is approximately twice as thick as water because of the cells and other components found in it.

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

Did you know?

Immunoglobulin injections may give short-term protection against, or reduce severity of certain diseases. They help people who have an inherited problem making their own antibodies, or those who are having certain types of cancer treatments.

For a complete list of videos, visit our video library