Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these method of class StringBuffer is used to reverse sequence of characters?
  2. A.
    reverse()
    B.
    reverseall()
    C.
    Reverse()
    D.
    reverseAll()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment