类型转换

object change into other class:

. number

invoke valueof first,if can't change into  primitive class, procedure will invoke tostring

你可能感兴趣的:(类型转换)