What will be the output of the following Java program? class output { public static void main(String args[]) { StringBuffer c = new StringBuffer("Hello"); c.delete(0,2); System.out.println(c); } }

  1. He
  2. Hel
  3. lo
  4. llo
Correct answer llo

By Admin · · 28 views