Discussion Forum : Introduction To Methods And Streams
Question -

Which of these method of class StringBuffer is used to reverse sequence of characters?

Options:
A .  reverse()
B .  reverseall()
C .  Reverse()
D .  reverseAll()
Answer: Option A

reverse() method reverses all characters. It returns the reversed object on which it was called.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *