在Java doc中有这样的描述:The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings. String concatenation is implemented through the StringBuffer class and its append method.看了这个就搞定了~~
这种地方不必深究,知道结果就好了.
45是int类型的对象