A

Admin • 828.03K Points
Coach

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

Code:
StringBuffer s new StringBuffer("Hello"); s.deleteCharAt(0);
  • (A) llo
  • (B) Hel
  • (C) ello
  • (D) Hell
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.