object change into other class:. number invoke valueof first,if can't change into primitive class, procedure will invoke tostring