打印StringBuilder对象打印出地址怎么办
package Stringtest;
public class StringBuilder {
public StringBuilder(String string) {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// 创建一个StringBuilder对象,用来存储字符串
StringBuilder hobby=new StringBuilder("asa");
System.out.println(hobby);
}
}