5. What is the output of the following code?
public class MyClass
{
static void myMethod(StringBuffer s1, StringBuffer s2)
{
s1.append("h");
s2.append("k");
s1 = new StringBuffer("x");
s2 = s1;
}
public static void main(String[] args)
{
StringBuffer sb1 = new StringBuffer("m");
StringBuffer sb2 = new StringBuffer("o");
myMethod(sb1, sb2);
System.out.print(sb1 + ", " + sb2);
}
}