aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming Fundamentals: Data Structures, OOP, and Java
  • Which of the following methods is used to revert the char...
Multiple choice

Which of the following methods is used to revert the characters within a StringBuffer object?

  1. delete()

  2. insert()

  3. reverse()

  4. none of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This method is used to revert the characters within a StringBuffer object.

Keep practicing — related questions

  • Which method is used to reverse the characters within a StringBuffer() object?
  • Which of the following methods in StringBuffer class is used to replace one set of characters with another ...
  • Which of the following methods in StringBuffer class concatenates two strings of different types to the end...
  • Which of the following methods in java inserts one string into another?
  • Which of the following methods is used in StringBuffer class to concatenate the string representation of an...
  • Which method is not present in String Buffer?
  • Which method is used to copy a substring of a StringBuffer into an array?
  • Which of the foolowing methods in StringBuffer class is used to set the length of the buffer within a Strin...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy