Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

win7£¨windows7£©ÏÂjava»·¾³±äÁ¿ÅäÖ÷½·¨

win7£¨windows7£©ÏÂjava»·¾³±äÁ¿ÅäÖ÷½·¨
 
 
windows7ÏÂjava»·¾³±äÁ¿ÅäÖ÷½·¨£º
   1.ÓÃÊó±êÓÒ»÷“ÎҵĵçÄÔ”->ÊôÐÔ  
  
   Ñ¡Ôñ×ó±ßµ¼º½µÄ“¸ß¼¶ÏµÍ³ÉèÖÔѡÏȻºóÕâ»ØÊìϤÁË°É£¿
  
   ¼ÌÐøÑ¡ÔñÓÒϽǵē»·¾³±äÁ¿”Ñ¡Ïî
   2.½øÐÐwin7ÏÂJava»·¾³±äÁ¿ÅäÖÃ
  
   ÔÚ"ϵͳ±äÁ¿"ϽøÐÐÈçÏÂÅäÖãº
  (1)н¨->±äÁ¿Ãû£ºJAVA_HOME ±äÁ¿Öµ£ºC:\Program Files\Java\jdk1.6.0_10(ÕâÖ»ÊÇÎÒµÄJDK°²×°Â·¾¶,ÕâÀïÊǸù¾Ý×Ô¼ºµÄ°æ±¾ºÍ·¾¶¶øÉèÖõģ¬×îºÃÔÚµØÖ·À¸Ö±½Ó¿½±´Ä¿Â¼)
  (2)±à¼­->±äÁ¿Ãû£ºPath ÔÚ±äÁ¿ÖµµÄ×îÇ°Ãæ¼ÓÉÏ£º%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
  (3)н¨->±äÁ¿Ãû£ºCLASSPATH ±äÁ¿Öµ£º.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
  
   ×¢Ò⣺µ±ÉèÖõıäÁ¿ÔÚĩβʱ£¬²»Òª¼ÓÉÏ“£»”¡£
  3.²âÊÔÏ»·¾³±äÁ¿ÊÇ·ñÉèÖóɹ¦
    ÔÚ×óϽǵÄËÑË÷¿òÖмüÈë
    cmd
    »òÕß°´Ï“WIN+R”¼ü,“WIN”¼ü¾ÍÊÇ"CTRL"ºÍ“ALT””ÖмäÄǸö΢Èíͼ±êÄǸö¼ü£»
   ·Ö±ðÊäÈëjava£¬javac£¬java -version ÃüÁî
   Èç¹û³öÏÖÈçÏÂÐÅÏ¢£º
  
  
  
   4.ÄãµÄJava»·¾³±äÁ¿ÅäÖóɹ¦£¡
   ×¢Òâ:
   Èô³öÏÖ
   'javac' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò
   »òÅú´¦ÀíÎļþ¡£
   ËµÃ÷´Ë´ÎJava»·¾³±äÁ¿ÅäÖóö´íÁË£¬×Ðϸ¼ì²éÏ°ɣ¡


Ïà¹ØÎĵµ£º

java classLoader Ô­Ôò

ÒªÀíÀà¼ÓÔØÌåϵ½á¹¹£¬¾Í±ØÐëÇå³þÈçϼ¸µã±È½Ï»ù±¾µÄÔ­Ôò:
1. classLoaderÊÇÒ»ÖÖ¸¸×ÓÊ÷Ðνṹ£¨×¢£ºÕâÀï²»ÊÇÖ¸Àà¼Ì³ÐµÄ¸¸×Ó¹Øϵ£©
2. ¸¸classLoaderÎÞ·¨¿´µ½×ÓclassLoader¼ÓÔصÄÀà
3¡¢ÐéÄâ»ú×ñÊØË«Ç×ίÍмÓÔØÔ­Ôò£¬¼´ÈκÎ×ÓclassLoaderÐëÊ×ÏÈίÍи¸classLoaderÏȼÓÔØÐèÒªµÄÀ࣬µ±¸¸classLoader¼ÓÔز»µ½Ê±ÔÙÓÉ×ÓclassLoa ......

javaÖи÷ÖÖÔËËã·û

±ÈÈçjavaÖг£ÓõÄÔËËã·û
Ò» ·ûºÅ++ ,+,--,-
ÓÐʱÕâ¸ö·ûºÅÆ´´ÕÆðÀ´Ò²Óе㸴ÔÓ
±ÈÈçÕâÑùÒ»¸öÔËËãʽ
int i=3;
i+++i-i++-++i
+ -ÔËËã·ûµÄÓÅÏȼ¶ µÍÓÚ++£¬-- ÏÈÔËËã++£¬--
¿ÉÒÔ½«ÉÏÃæµÄʽ×Ó²ð¿ª
i++ + i - i++ - ++i
ÕâÑùÊDz»ÊÇÈÝÒ׶àÁË
 
ÏÈÀ´¸ö¼òµ¥µãµÄ
1 K++
int k=0;
System.out.println(K++)
System.o ......

makefile Ö® java X Ö® lint

E:\>javac -X 
  -Xlint                     ÆôÓý¨ÒéµÄ¾¯¸æ 
  -Xlint:{all,deprecation,unchecked,fallthrough,path,serial,finally,-deprecat ion 
,-unchecked,-fallthrough,-path,-serial,-finally}ÆôÓûò½ûÓÃÌض¨µÄ¾¯¸æ 
& ......

JavaÖÐʹÓÃBigDecimalʵÏÖ¾«È·ÉáÎåÈë¼°¹¤³ÌÔËËã

£¨×¢£ºÇ°ÃæдÁËÒ»¸ö³¬´óÕûÊýÏà¼ÓµÄÀ࣬²Î¼û£º ³¬´óÕûÊýÏà¼Ó£¬³¬¹ýÁËlongµÄ·¶Î§£¬ÄãÒªÔõô×ö£¡£¬ºóÀ´ÓÐÅóÓÑÆÀÂÛ˵BigDecimal¿ÉÒÔÍêȫʵÏÖÎÒµÄÕâÕâ¸ö¹¦ÄÜ£¬¸Õ¿ªÊ¼µÄʱºò£¬ÎÒ»¹²»·þÆø£¬¾ÝÎÒËùÖªÄÇÀïÓÐÕâÑùµÄÀàŶ£¬ºóÀ´±¨×Å˵·þËûµÄÐÄÀíÈ¥ÕÒÁËһϣ¬ºÇºÇ£¬½á¹û¾ÓÈ»×Ô¼º±»Ëµ·þÁË£¬È·ÊµÓÐÕâôһ»ØÊ£¬ÀûÓÃBigDecimal²Ù×÷³¬´óÕûÊýÒ ......

JavaµÄÈÝÆ÷ÀàVector¡¢ArrayList¡¢HashTableµÈ

ÏßÐÔ±í£¬Á´±í£¬¹þÏ£±íÊdz£ÓõÄÊý¾Ý½á¹¹£¬ÔÚ½øÐÐJava¿ª·¢Ê±£¬JDKÒѾ­ÎªÎÒÃÇÌṩÁËһϵÁÐÏàÓ¦µÄÀàÀ´ÊµÏÖ»ù±¾µÄÊý¾Ý½á¹¹¡£ÕâЩÀà¾ùÔÚjava.util°üÖС£±¾ÎÄÊÔͼͨ¹ý¼òµ¥µÄÃèÊö£¬Ïò¶ÁÕß²ûÊö¸÷¸öÀàµÄ×÷ÓÃÒÔ¼°ÈçºÎÕýȷʹÓÃÕâЩÀà¡£
Collection
©ÀList
©¦©ÀLinkedList
©¦©ÀArrayList
©¦©¸Vector
©¦¡¡©¸Stack
©¸Set
Map
©ÀHa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ