What is the string contained in s after following lines of Java code?
Posted: Wed Jul 13, 2022 7:46 pm
StringBuffer s new StringBuffer("Hello");
s.deleteCharAt(0);
a) Hell
b) ello
c) Hel
d) llo
s.deleteCharAt(0);
a) Hell
b) ello
c) Hel
d) llo