public class Something { public static void main(String[] args) { StringBuffer a=new StringBuffer("C"); StringBuffer b=new StringBuffer("D"); append(a,b); System.out.println(a+","+b); } static void append(StringBuffer c,StringBuffer d){ c.append("B"); d=c; } }
慕瓜6647526
相关分类