Assume StringBuilder strBuf is “ABCDEFG”, after invokingstrBuf contains “AEFG” OstrBuf.delete(2, 4) strBuf.delete(0, 3) OstrBuf.delete(1, 4) O strBuf.delete(1, 3) Show transcribed image text Assume StringBuilder strBuf is “ABCDEFG”, after invokingstrBuf contains “AEFG” OstrBuf.delete(2, 4) strBuf.delete(0, 3) OstrBuf.delete(1, 4) O strBuf.delete(1, 3)
Answer
strBuf.delete(1,4);
We were unable to transcribe this imagePlease up vote the solution if it helped. Thanks!