Could you please explain this example...How the variables are passed , how they are appended and assigned(y=x).
public class Google {
public static void main (
String [] argv) {
StringBuffer a = new StringBuffer (�A�);
StringBuffer b = new StringBuffer (�B�);
execute (a,b);
system.out.printIn{a + �,� +b};
}
static void execute (StringBuffer x, StringBuffer y) {
x.append (y);
y = x;
}
}
Output is : code compiles fine and prints �AB,B".