JavaÖ®@SuppressWarnings
ÓÃÁËÕâ¸ö£¬MyEclipseÀï¾Í²»»á±¨ÄÇЩ¾¯¸æÁË£¬¿´ÆðÀ´Æ¯ÁÁ¶àÁË
³£Óõģº
@SuppressWarnings("unchecked"),·ºÐÍ
@SuppressWarnings("deprecation"), deprecated·½·¨
@SuppressWarnings(value={"deprecation","unchecked"}) Ë«Ñ¡
@SuppressWarnings("serial"), ÐòÁл¯
ÆäËûµÄ£º
¹Ø¼ü×Ö
ÓÃ;
deprecation
ʹÓÃÁ˲»ÔÞ³ÉʹÓõÄÀà»ò·½·¨Ê±µÄ¾¯¸æ
unchecked
Ö´ÐÐÁËδ¼ì²éµÄת»»Ê±µÄ¾¯¸æ£¬ÀýÈ統ʹÓü¯ºÏʱûÓÐÓ÷ºÐÍ (Generics) À´Ö¸¶¨¼¯ºÏ±£´æµÄÀàÐÍ¡£
fallthrough
µ± Switch ³ÌÐò¿éÖ±½ÓͨÍùÏÂÒ»ÖÖÇé¿ö¶øûÓÐ Break ʱµÄ¾¯¸æ¡£
path
ÔÚÀà·¾¶¡¢Ô´Îļþ·¾¶µÈÖÐÓв»´æÔڵķ¾¶Ê±µÄ¾¯¸æ¡£
serial
µ±ÔÚ¿ÉÐòÁл¯µÄÀàÉÏȱÉÙ serialVersionUID ¶¨ÒåʱµÄ¾¯¸æ¡£
finally
ÈκΠfinally ×Ӿ䲻ÄÜÕý³£Íê³ÉʱµÄ¾¯¸æ¡£
all
¹ØÓÚÒÔÉÏËùÓÐÇé¿öµÄ¾¯¸æ¡£
Ïà¹ØÎĵµ£º
ÔËÐÐʱ°ó¶¨Ò²½Ð¶¯Ì¬°ó¶¨£¬ËüÊÇÒ»ÖÖµ÷ÓöÔÏó·½·¨µÄ»úÖÆ¡£Javaµ÷ÓöÔÏó·½·¨Ê±£¬Ò»°ã²ÉÓÃÔËÐÐʱ°ó¶¨»úÖÆ¡£
1£®JavaµÄ·½·¨µ÷Óùý³Ì
±àÒëÆ÷²é¿´¶ÔÏóµÄÉùÃ÷ÀàÐͺͷ½·¨Ãû£¨¶ÔÏó±äÁ¿µÄÉùÃ÷ÀàÐÍ£©¡£Í¨¹ýÉùÃ÷ÀàÐÍÕÒµ½·½·¨ÁÐ±í¡£
±àÒëÆ÷²é¿´µ÷Ó÷½·¨Ê±ÌṩµÄ²ÎÊýÀàÐÍ¡£
Èç¹û·½·¨ÊÇprivate¡¢static¡¢final»òÕß¹¹ÔìÆ÷£¬±àÒëÆ ......
20¡¢abstract classºÍinterfaceÓÐʲôÇø±ð?
¡¡¡¡ÉùÃ÷·½·¨µÄ´æÔÚ¶ø²»È¥ÊµÏÖËüµÄÀà±»½Ð×ö³éÏóÀࣨabstract class£©£¬ËüÓÃÓÚÒª´´½¨Ò»¸öÌåÏÖijЩ»ù±¾ÐÐΪµÄÀ࣬²¢Îª¸ÃÀàÉùÃ÷·½·¨£¬µ«²»ÄÜÔÚ¸ÃÀàÖÐʵÏÖ¸ÃÀàµÄÇé¿ö¡£²»ÄÜ´´½¨abstract ÀàµÄʵÀý¡£È»¶ø¿ÉÒÔ´´½¨Ò»¸ö±äÁ¿£¬ÆäÀàÐÍÊÇÒ»¸ö³éÏóÀ࣬²¢ÈÃËüÖ¸Ïò¾ßÌå×ÓÀàµÄÒ»¸öʵÀý¡£²»ÄÜÓг ......
110¡¢J2EEÊÇʲô£¿
¡¡¡¡J2EEÊÇSun¹«Ë¾Ìá³öµÄ¶à²ã(multi-diered),·Ö²¼Ê½(distributed),»ùÓÚ×é¼þ(component-base)µÄÆóÒµ¼¶Ó¦ÓÃÄ£ÐÍ(enterpriese applicationmodel).ÔÚÕâÑùµÄÒ»¸öÓ¦ÓÃϵͳÖУ¬¿É°´ÕÕ¹¦ÄÜ»®·ÖΪ²»Í¬µÄ×é¼þ£¬ÕâЩ×é¼þÓÖ¿ÉÔÚ²»Í¬¼ÆËã»úÉÏ£¬²¢ÇÒ´¦ÓÚÏàÓ¦µÄ²ã´Î(tier)ÖС£ËùÊô²ã´Î°üÀ¨¿Í»§²ã(clietn tier)×é¼þ,web² ......
´«ÖDz¥¿ÍµÄJAVA SE¸ß¼¶ÊÓƵ2 IO ×Ôѧ±Ê¼Ç:
FileÀࣺ
1.IO°üÖÐΨһ´ú±í´ÅÅÌÎļþ±¾ÉíÐÅÏ¢µÄÀ࣬¶ø²»ÊÇÎļþÖÐÄÚÈÝ¡£
2.´´½¨¡¢É¾³ý¡¢ÖØÃüÃûÎļþµÈ·½·¨¡£
3.JavaÖÐĿ¼±»µ±×÷Ò»ÖÖÌØÊâÎļþʹÓã¬list·½·¨·µ»ØËùÓÐ×ÓĿ¼ºÍÎļþ¡£
4.UnixÏ·¾¶· ......