intvalue()、parseInt()、valueof()

1) intValue () is the Integer object type into the base data type of int; unpacking
2) parseInt () is the basic data into String type int;
. 3) valueOf () is converted to the Integer String object type; (JDK version now supports the automatic boxing and unboxing.) packing

Guess you like

Origin www.cnblogs.com/yangrongkuan/p/12028518.html