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

Author Question: Assume StringBuilder strBuf is "ABCDEFG", after invoking ________, strBuf contains "ABCRRRRDEFG". (Read 50 times)

jjjetplane

  • Hero Member
  • *****
  • Posts: 556

Question 1

Assume StringBuilder strBuf is "ABCDEFG", after invoking ________, strBuf contains "AEFG".
◦ strBuf.delete(2, 4)
◦ strBuf.delete(1, 4)
◦ strBuf.delete(0, 3)
◦ strBuf.delete(1, 3)

Question 2

Assume StringBuilder strBuf is "ABCDEFG", after invoking ________, strBuf contains "ABCRRRRDEFG".
◦ strBuf.insert(3, "RRRR")
◦ strBuf.insert(2, "RRRR")
◦ strBuf.insert(1, "RRRR")
◦ strBuf.insert(4, "RRRR")


Related Topics

Need homework help now?

Ask unlimited questions for free

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

vkodali

  • Sr. Member
  • ****
  • Posts: 357
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 25% of students answer this correctly




jjjetplane

  • Member
  • Posts: 556
Reply 2 on: May 6, 2020
Excellent


bimper21

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

 

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates’s recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

By definition, when a medication is administered intravenously, its bioavailability is 100%.

Did you know?

Allergies play a major part in the health of children. The most prevalent childhood allergies are milk, egg, soy, wheat, peanuts, tree nuts, and seafood.

Did you know?

On average, the stomach produces 2 L of hydrochloric acid per day.

Did you know?

Famous people who died from poisoning or drug overdose include, Adolf Hitler, Socrates, Juan Ponce de Leon, Marilyn Monroe, Judy Garland, and John Belushi.

For a complete list of videos, visit our video library