KnowledgeBoat Logo

Computer Applications

Describe the purpose and write the syntax of reverse() function.

Java String Handling

12 Likes

Answer

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


Related Questions