7
Q:
| A) llo | B) Hllo |
| C) ello | D) H |
Answer: C) ello
Explanation:
Explanation:
deleteCharAt() method deletes the character at the specified index location and returns the resulting StringBuffer object.
So after deleting the character at 0 ie 'H', the string returns 'ello' as the output.
Aptitude and Reasoning
General Knowledge
Puzzles
Interviews
Technical
Certifications
Exams
Job
Roles
True or False
Exams