1.

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

A. ZMania
B. Mania
C. ania
D. ZMani
E. None of these
Answer» C. ania


Discussion

No Comment Found

Related MCQs