Page 1 of 1

What is the string contained in s after following lines of Java code?

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
StringBuffer s new StringBuffer("Hello");
s.deleteCharAt(0);
a) Hell
b) ello
c) Hel
d) llo