English

Describe the purpose of the following function with its syntax: reverse() - Computer Applications

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]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q VIII. 7. | Page 289
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×