what is the result when you compile and run the following code?
class Example
{ public void myBuf(StringBuffer s,StringBuffer s1)
{
s.append("how are you");
s=s1;
}
public static void main(String [] args)
{
Example tb=new Example();
StringBuffer s=new StringBuffer("hello');
StringBuffer s1=new StringBuffer("doing');
tb.myBuf(s,s1);
System.out.println(s);
}
}
Select all right answer?
A:hello how are you
B:hello
C:hello how are you doing
D:compile time error