???д??????????????
???????????? ???????[ 2014/1/8 11:55:46 ] ??????????? ????
????Gotchas?????壬???????????е????塣
??????????????з?й??????(?ο??????“??????????????”)
???????????
????Java Casts??Java????????????????????ε????Collection????????object?????????????????????????????Щ????Щ?????????????N????????????????????????????????????е????????????????????鵽????????鯔????
????????Java?????????磺Bubblegum b = new Bubblegom(); ?? swimmer = swimner + 1; ??????????????
?????????????????????????????????????????????????????????????????????????ι?????豸?????????????
??????????????????????????????????е?????
?????????????????Ч????????????copy + paste????????????????????????????Ч???????(??????Copy + Paste?????????bug??ò??????)
????????listener??д???listener?????????????е?button????????listener????????????????listener??????????if…else…???????????
?????????????顣?????????????????????????????????
???????á?????????get/set???????????????public???????????????????????????????????
??????????????????????????е?API???????6??8?飬????????4???????????????????????
?????????????????е???????????public????????????????????????????????????????????????????????????????????????????á?
???????к??譚????drawRectangle(height?? width) ??? drawRectangle(width?? height)????release??????汾????????????????????????????????????????????????????
???????????????????????磬??setAlignment(int alignment)????setLeftAlignment?? setRightAlignment?? setCenterAlignment??
????Packratting???????????е??????????????????????????
????That’s Final??Final?????е??????????????????????????????????????????????????????java.lang.String????????????
??????????y?????java?У?BS??????C++??BS????麯????
???????????layout????????????????????????????????????????layout?????????????GridBagLayout??????grid????hard code.
??????????????????????????????????????(getenv() - C++ / System.getProperty() - Java )???????????e????????????????????????????????????????
???????Magic number???ο???Linux???????????
???????????????1)??????????????????????????У???????????????????????κι????????????????????????????????????????2)????????????????????????????????Щ??
????????????????????????????Щ?????????????????У??????????????????е???????????????е???????????
???????????????????????????и???????????????????磬??????????????????????????????п???????????????????????????????е???????????????С?
????????????????????д???????????????????????????????????????(?????????)????????д10????ε??У????????????????????????????С??????????????????????????????????????С?
??????????????
???????XML??XML????????????????????XML???????????10?е??????100?С???????????????????XML??(?ο?????XML??????????XML??????)
????????C?????????μ?????????????????Щ?????????????????Щ??
??????ò???????????磺10 ??010??????????????磺array = new int[]{ 111?? 120?? 013?? 121??};
???????????void*??????????????????
????????????????C++????????????????????????????????
??????????????????磺?? a==100?????a>99 && a<101
??????????÷????磺if ( a );else;{ int d; d = c;}
????????????磺??double?string??д??new Double(d).toString() ?????? Double.toString(d)
??????????????????NB??????????????д???????ó???10???С????()???????????????????ó???20?????????{}????????if else ??? [? :] ????????NB?????
??????
???·???
??????????????????
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