在JDK1.5中使用StringBuffer的append()方法,如果只使用一个append()就好好的,如果连续使用多个append()如stringbuffer.append("1").append("2");就会出错,出现“The type AbstractStringBuilder is not visible”的错误,大家遇到过吗?
...全文
1956打赏收藏
关于JDK1.5使用stringbuffer的连续append的问题
在JDK1.5中使用StringBuffer的append()方法,如果只使用一个append()就好好的,如果连续使用多个append()如stringbuffer.append("1").append("2");就会出错,出现“The type AbstractStringBuilder is not visible”的错误,大家遇到过吗?