Translated into strings basic data types:
Basic data type + ""
.ToString basic data type (data type value base)
Such as: Integer.toString (34) // 34 into the integer "34"
Converted into a string of basic data types:
Converted into a string of integers: int number = Integer.parseInt (String str)
double d = Double.parseDouble("123");
boolean b = Boolean.parseBollean ( "true");
no char,
int x = Integer.parseInt (String str, radix) // converts the content into a string of binary digits correspond.
Integer m = new Integer(128)
integer n = new Integer(128)
Q: m == n? A: The two objects, of course, are not equal
Integer a = new Integer(127)
Integer b = new Integer(127)
Q: a == b? A: equal, because the values of a and b simultaneously point to the same Integer object. The number and then byte within range for the new features, if the value already exists, it will not open up new space.