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

JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì

 JAVA Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
  °¥£¬±ÏÒµÁËÒ²Ò»¶Îʱ¼äÁË£¬Ö»ÖªµÀÌìÌì³­´úÂ룬 JAVA µÄ»ù´¡ÖªÊ¶»ù±¾ÊÇÍüµôÁË£¬¼ÓÉÏÒÔǰһֱûÓÐϵͳµØѧϰ¹ý£¬¸Ð¾õ¿ìÒª·ÏÁË¡£»¹ÊǺúþ²ÏÂÐÄÀ´Ñ§Ñ§»ù´¡°É¡£²»ÄÜÌìÌ쿼³­´úÂë¹ýÈÕ×Ó°¡¡£¡£¡£¡££¨ÏÂÎÄ´ó¶àÀ´×Կα¾ÒÔ¼°Ò»Ð©¼¼ÊõÊÓƵÉϵÄÄÚÈÝ£¬»ù±¾Àí½âÁËһЩÁË£¬Ê£ÏµÄÓÉÒÔºóµÄѧϰÂýÂýÔÙÈ¥Ìå»á°É£©
    
JAVA Ìåϵ £º
   
 
Ò»¡¢ ÒÆÖ²½Ó¿Ú
ÒÆÖ²½Ó¿ÚÓÉÊÊÅäÆ÷ºÍ²Ù×÷ϵͳ×é³É£¬±£Ö¤ Java Ìåϵ½á¹¹¿É¿çƽ̨Óë¸÷¸ö²Ù×÷ϵͳ½Ó¡£
¶þ¡¢ JAVA ÐéÄâ»ú¡¢½âÊÍÆ÷
ÐéÄâ»úÊÇ Java µÄʵÏÖ»úÖÆ£¬Ëüʵ¼ÊÉÏÊÇÄ£ÄâÈí¼þϵͳ£¬Ëü¿ÉÒÔÓÃÓ²¼þʵÏÖ£¬ÔÚÒƶ¯É豸ÖпÉÒÔʹһ¸öоƬ¡£ÐéÄâ»ú¶¨ÒåÓÐÖ¸Á¡¢¼Ä´æÆ÷¼¯¡¢ÀàÎļþ½á¹¹Õ»¡¢À¬»øÊÕ¼¯Õ»¡¢ÄÚ´æÇøÓò£¬ÐéÄâ»úÔÚÖ´Ðйý³ÌÓÐ 3 ¸öÌص㣺¶àÏ̡߳¢¶¯Ì¬Á´½Ó¡¢Òì³£´¦Àí¡£ JAVA ÐéÄâ»ú´úÂë±»´æ´¢ÔÚ .Class ÎļþÖС£
½âÊÍÆ÷µÄÈÎÎñÊÇÖ´ÐÐ×Ö½Ú´úÂ룬ËüÓëÐéÄâ»ú¹¹³É JAVA ÔËÐл·¾³£¬Íê³É×Ö½Ú´úÂëÓ³Éäµ½±¾µØƽָ̨Áî¡£
Èý¡¢ JAVA »ù±¾Àà¡¢ JAVA ±ê×¼À©Õ¹ÀàºÍ JAVA »ù±¾ API ¡¢ JAVA ±ê×¼À©Õ¹ API ÊÇΪ±àÒëÆ÷·þÎñµÄ¡£
ËÄ¡¢ Ó¦ÓóÌÐò¡¢±àÒëÆ÷
Ó¦ÓóÌÐòºÍ Applet С³ÌÐòͨ¹ý±àÒëÆ÷Íê³É³ÌÐòµ½×Ö½Ú´úÂëµÄת»»¡£ .
JAVA µÄ±à³Ì¹ý³ÌÈçÏ £º
1¡¢  .java µÄ java ÎļþÓɱàÒëÆ÷±àÒëΪ .class µÄ java ×Ö½ÚÂëÎļþ¡£ÕâЩ .class £¨Ã¿¸öÎļþ°üº¬×î¶àÒ»¸ö public Àà £©µÄ java ×Ö½ÚÂëÎļþ ÓеĿÉÒÔÖ±½ÓÔÚ JVM ÉÏÖ´ÐУ¬ÓеÄÐèÒªÓÉ JVM ½âÊͳÌÐò½âÊͺóÔÚÏàÓ¦µÄ²Ù×÷ϵͳÉÏÖ´ÐС££¨Õâ¸ö¾ÍÊÇ Java ¿ÉÒÔ¿çƽ̨µÄÔ­Òò£©
                       
  
                      
¶øÐéÄâ»ú£¨ JVM £©µÄÖ´Ðйý³ÌÈçÏÂËùʾ£º
                         
                         


Ïà¹ØÎĵµ£º

JavaÖÐSetµÄÉîÈëÑо¿

SetºÍÊýѧÖеļ¯ºÏÊÇͬһ¸ö¸ÅÄ¾ÍÊÇûÓÐÖظ´ÔªËصļ¯ºÏ¡£
ÕâƪÎÄÕÂÖ÷ÒªÂÛÊöÁËSetÊÇÈçºÎʵÏÖ"ûÓÐÖظ´ÔªËØ"£¨no duplicate elements£©µÄ£¬ÒÔ¼°²ûÊöÁËʲôÊÇ“Öظ´”£¨duplicate£©£¬ÊÇÏàͬµÄµØÖ·¿Õ¼ä£¿ÊÇequalsµÄ·µ»ØֵΪtrue£¿ÊÇcompareToµÄ·µ»ØֵΪ0 £¿»¹ÊÇÓÐÏàͬµÄhashCode£¿±¾ÎÄ»¹¸ø³öÁËÔÚʲôÇé¿öÏÂʹÓÃʲà ......

JAVAѧϰ±Ê¼Ç£¨Ò»£©£ºJAVAÌåϵ¼°Æä±à³ÌµÄ¹ý³Ì

JAVA
ѧϰ±Ê¼Ç£¨Ò»£©£º
JAVA
Ìåϵ¼°Æä±à³ÌµÄ¹ý³Ì
 
°¥£¬±ÏÒµÁËÒ²Ò»¶Îʱ¼äÁË£¬Ö»ÖªµÀÌìÌì³­´úÂ룬
JAVA
µÄ»ù´¡ÖªÊ¶»ù±¾ÊÇÍüµôÁË£¬¼ÓÉÏÒÔǰһֱûÓÐϵͳµØѧϰ¹ý£¬¸Ð¾õ¿ìÒª·ÏÁË¡£»¹ÊǺúþ²ÏÂÐÄÀ´Ñ§Ñ§»ù´¡°É¡£²»ÄÜÌìÌ쿼³­´úÂë¹ýÈÕ×Ó°¡¡£¡£¡£¡££¨ÏÂÎÄ´ó¶àÀ´×Կα¾ÒÔ¼°Ò»Ð©¼¼ÊõÊÓƵÉϵÄÄÚÈÝ£¬»ù±¾Àí½âÁËһЩÁË£¬Ê ......

JavaÖеÄBigDecimalµÄʹÓÃ

BigDecimalÀà
Ë«¾«¶È¸¡µãÐͱäÁ¿double¿ÉÒÔ´¦Àí16λÓÐЧÊý¡£ÔÚʵ¼ÊÓ¦ÓÃÖУ¬ÐèÒª¶Ô¸ü´ó»òÕ߸üСµÄÊý½øÐÐÔËËãºÍ´¦Àí¡£JavaÔÚjava.math°üÖÐÌṩµÄAPIÀàBigDecimal£¬ÓÃÀ´¶Ô³¬¹ý16λÓÐЧλµÄÊý½øÐо«È·µÄÔËËã¡£±í5.7ÖÐÁгöÁËBigDecimalÀàµÄÖ÷Òª¹¹ÔìÆ÷ºÍ·½·¨¡£
±í5.7 BigDecimalÀàµÄÖ÷Òª¹¹ÔìÆ÷ºÍ·½·¨
¹¹ÔìÆ÷ÃèÊö
BigDecimal(in ......

java ×Ö·û´®±È½Ï

 ÊìϤC++µÄÈ˶ÔÓÚÁ½¸ö×Ö·û´®±È½ÏµÄ´úÂëÒ»¶¨ºÜÁ˽⣺
(string1==string2)
µ«ÔÚjavaÖУ¬Õâ¸ö´úÂ뼴ʹÔÚÁ½¸ö×Ö·û´®ÍêÈ«ÏàͬµÄÇé¿öÏÂÒ²»á·µ»Øfalse
JavaÖбØÐëʹÓÃstring1.equals(string2)À´½øÐÐÅжÏ
²¹³ä
Èç¹û£º
string s1=new String("Hello");
string s2=new String("Hello");
Ôò(s1==s2)=false
Èç¹û ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ