🎴 Flashcard Mode

Java 2

Card1 / 15
Mastered0
Review0
QuestionClick to flip

What does the startIndex and endIndex argument in delete() method of StringBuffer class specify?

AnswerClick to flip back
A
Deletion of characters from startIndex position to endIndex-1 position
💡 Explanation:

This is the correct because the number of characters are deleted upto endIndex-1.

Change Mode