Describe the purpose and write the syntax of reverse() function.
12 Likes
It is a method of StringBuffer class and it is used to reverse the sequence of characters.
Syntax:
<StringBuffer-Variable>.reverse();
Answered By
5 Likes
Describe the purpose and write the syntax of replace() function.
Describe the purpose and write the syntax of compareTo() function.
Describe the purpose and write the syntax of indexOf() function.
Describe the purpose and write the syntax of startWith() function.