首页
编程
java
php
前端
首页
编程
java
php
前端
String Stringbuilder 判断是否相等
==判断的时候,如图,str3是新对象,所以是false,但是其他的为什么是false呢
sb.tostring每次都会new一个新的String对象
点击展开全文