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 57 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
YES! Correct, THANKS for helping me on my review


sultana.d

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

 

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).

Did you know?

Vital signs (blood pressure, temperature, pulse rate, respiration rate) should be taken before any drug administration. Patients should be informed not to use tobacco or caffeine at least 30 minutes before their appointment.

Did you know?

Nitroglycerin is used to alleviate various heart-related conditions, and it is also the chief component of dynamite (but mixed in a solid clay base to stabilize it).

Did you know?

Anesthesia awareness is a potentially disturbing adverse effect wherein patients who have been paralyzed with muscle relaxants may awaken. They may be aware of their surroundings but unable to communicate or move. Neurologic monitoring equipment that helps to more closely check the patient's anesthesia stages is now available to avoid the occurrence of anesthesia awareness.

Did you know?

An identified risk factor for osteoporosis is the intake of excessive amounts of vitamin A. Dietary intake of approximately double the recommended daily amount of vitamin A, by women, has been shown to reduce bone mineral density and increase the chances for hip fractures compared with women who consumed the recommended daily amount (or less) of vitamin A.

For a complete list of videos, visit our video library