English, asked by aishukasar2729, 10 months ago

public class Try {
public void myBuf (StringBuffer s, StringBuffer s1) {
s.append ("B");
s = s1;
}
public static void main (String args [ ] ) {
Try t = new Try();
StringBuffer s = new StringBuffer ("A");
StringBuffer sl = new StringBuffer ("B");
t.myBuf(s, sl);
System.out.print(s);
}
}
Pick the closest option

Answers

Answered by krithi2001143
10
Hello friend!!!

What's your question???
Answered by krithi2000143
4

What's your question????

Similar questions