Final answer:
All the given statements about the Java StringBuffer class are true. It enables adding, deleting, and reversing characters, as well as automatically adjusting capacity during string manipulations.
Step-by-step explanation:
You are correct in that the StringBuffer class in Java provides several functionalities. To answer your question, here are the accurate statements among the ones you've listed:
- You can add characters into a StringBuffer.
- You can delete characters from a StringBuffer.
- You can reverse the characters in a StringBuffer.
- The capacity of a StringBuffer can be automatically adjusted.
Therefore, all the statements you mentioned are true for a StringBuffer. It's designed to be a mutable sequence of characters with the ability to be modified through various methods without needing to create a new object each time a change is made. This makes it more efficient for string operations that require frequent modifications.