toString() public String toString() { return "BookType []"; } 每个对象都有默认的toString() //返回对象地址信息。 可主动对其进行修改,以获取所需值。