1.

What is the output of this program? class output { public static void main(String args[]) { StringBuffer s1 = new StringBuffer("Hello World"); s1.insert(6 , "Good "); System.out.println(s1); } }

A. HelloGoodWorld
B. HellGoodoWorld
C. HellGood oWorld
D. Hello Good World
Answer» E.


Discussion

No Comment Found