????????Java?е????????
???????????? ???????[ 2014/6/17 13:31:11 ] ????????Java ???????
????????????????????Java????????????????????????????Щ?????????????е???????????????????????????????????????????????????о??????????????????????????
????????????????????
?????.??????????????
??????.????????????????
??????.??????????????
?????.??????????????
????????????????????Java???????????????????????????????????????????????????????????????????????????в????????????????????????????????Java SE5???????????????????10??Integer???????????????У?
????Integer i = new Integer(10);
?????????Java SE5??????????????????????????????????10??Integer???????????????????
????Integer i = 10;
????????????л???????????????????? Integer???????????
??????????????????????壬??????????????????????????????????????????
????Integer i = 10; //???
????int n = i; //????
????????????????? ????????????????????????????????????? ???????????????????????????????
?????±???????????????????????????
int??4????Integer
byte??1????Byte
short??2????Short
long??8????Long
float??4????Float
double??8????Double
char??2????Character
boolean??δ????Boolean
|
??????.????????????????
???????С??????????????????????С???????????????????????????
??????????Interger??????????濴??δ???
public class Main {
public static void main(String[] args) {
Integer i = 10;
int n = i;
}
}
|
??????????class?????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11