1.

What is the output of this program?
 package pack;
public class Result
{
public static void main(String args[])
{
StringBuffer strbuf = new StringBuffer("Hello Mania");
strbuf.insert(6 , "Interview ");
System.out.println(strbuf);
}
}

A. Hello Mania
B. Mania
C. Interview
D. Hello Interview Mania
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs