Examveda
Examveda

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

A. Hell

B. ello

C. Hel

D. llo

Answer: Option B


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings