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.
Copyright ©CuriousTab. All rights reserved.