Golfball gb1 = new Golfball("Brandx", "Professional", 100);
======= =============
这是String类型,不会自动转为StringBuffer的。
new StringBuffer("Brandx")
getClass()相当this.getClass(); //this不是对象吗?
======= =============
这是String类型,不会自动转为StringBuffer的。
new StringBuffer("Brandx")
getClass()相当this.getClass(); //this不是对象吗?
上网不方便
现在才回
不好意思