What is the string contained in s after following lines of Java code? [code] StringBuffer s new StringBuffer("Hello"); s.deleteCharAt(0);

What is the string contained in s after following lines of Java code?
Code:
StringBuffer s new StringBuffer("Hello");
s.deleteCharAt(0);
A. Hell
B. ello
C. Hel
D. llo
 

Tìm kiếm

Back
Top