aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Strings
  • The__________ method deletes a sequence of characters fro...
Multiple choice

The__________ method deletes a sequence of characters from the invoking object.

  1. replace()

  2. length()

  3. delete()

  4. none of these

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

The 'delete()' method deletes a sequence of characters from the invoking object.

Keep practicing — related questions

  • The ____________ replaces all occurrences of one character in the invoking string with another character.
  • The______________ returns a copy of the invoking string from which any leading and trailing whitespace has ...
  • _________ method skips the specified number of characters in an open file.
  • Which of the following methods cannot be used with the object of String class?
  • Which of the following methods cannot be used with the object of String class?
  • If we want to convert all the characters in a String object into a character array, we use the _________ me...
  • If we want to convert all the characters in a String object into a character array, we use the _________ me...
  • Which of the following methods in StringBuffer class is used to replace one set of characters with another ...
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