Multiple choice

Which of the following methods is used in StringBuffer class to concatenate the string representation of any other type of data to the end of the invoking StringBuffer object?

  1. insert()

  2. reverse()

  3. delete()

  4. append()

  5. capacity()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This method is used in StringBuffer class to concatenate the string representation of any other type of data to the end of the invoking StringBuffer object.