📚 Practice Mode

Java 2

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

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

  1. Deletion of characters from startIndex position to endIndex position
  2. Deletion of characters from startIndex position to endIndex-1 position
  3. Deletion of all the characters
  4. Deletion of the startIndex and endIndex characters only
  5. Deletion of a single character only