下面程序段输出的结果是?
StringBuffer buf1=new StringBuffer(20);
System.out.println(buf1.length()+","+buf1.capacity());
A 0,20
B 0,null
C 20,20
D 0,0
StringBuffer buf1=new StringBuffer(20);
System.out.println(buf1.length()+","+buf1.capacity());
A 0,20
B 0,null
C 20,20
D 0,0