Which of these method of class StringBuffer is used to reverse sequence of characters?
A. reverse()
B. reverseall()
C. Reverse()
D. reverseAll()
Answer:A
Which of these method of class StringBuffer is used to reverse sequence of characters?
A. reverse() B. reverseall() C. Reverse() D. reverseAll()
Explanation: reverse() method reverses all characters. It returns the reversed object on which it was called.