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

A) llo

B) Hllo

C) ello

D) H

View Answer
Option – C.

Similar Questions