The deleteCharAt method is available in the ________ class to remove a character at a specified position.

  • ArrayList
  • Character
  • String
  • StringBuilder
The deleteCharAt method is available in the StringBuilder class in Java. It allows you to remove a character at a specified position within the StringBuilder object. The other classes mentioned do not have this method for character removal.
Add your answer
Loading...

Leave a comment

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