aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Core Programming
  • Which method is not present in String Buffer?
Multiple choice

Which method is not present in String Buffer?

  1. Insert(int index, string str)

  2. Reverse()

  3. Format(string str)

  4. Delete(int startIndex, int endIndex)

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

This answer is correct because format(string str) does not exist in String Buffer class.

Keep practicing — related questions

  • Which of the following methods in java inserts one string into another?
  • Which of the following methods is used to revert the characters within a StringBuffer object?
  • Which method is used to reverse the characters within a StringBuffer() object?
  • What does the startIndex and endIndex argument in delete() method of StringBuffer class specify?
  • Which of the following methods is used in StringBuffer class to concatenate the string representation of an...
  • Which of the following methods in StringBuffer class concatenates two strings of different types to the end...
  • Which method is used to copy a substring of a StringBuffer into an array?
  • Which method inserts one string into another and is overloaded to accept value of all the simple types, plu...
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