Advertisements
Advertisements
Question
Describe the purpose of the following function with its syntax:
reverse()
Code Writing
Solution
It is a StringBuffer class method that reverses a sequence of characters.
Example:
<StringBuffer-Variable>.reverse();
shaalaa.com
Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 289]