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

javaÐéÄâ»úÔ´´úÂë ÉîδÀ´¼¼Êõ

±¾Õ¾(openjdk)ÏÖÔÚËùÁгöÀ´µÄ¾ÍÊÇHotSpotÐéÄâ»úµÄÔ´´úÂ룬¶øHotSpotÕýÊÇÄ¿Ç°ÊÀ½çÉÏjavaÐéÄâ»úµÄ×îºÃµÄʵÏÖ¡£
¡¡¡¡HotSpotµÄ»ù´¡´úÂëÊÇÐí¶àÈËÐÁÇÚÀͶ¯µÄ½á¾§£¬Õâ¸ö¹ý³ÌÆù½ñÒѳÖÐøÁ˳¬¹ý10ÄêµÄʱ¼ä£¨µ±È»Ê±¼ä³¤²¢²»Òâζ×ÅÒ»¶¨ºÃ£¬Ò»°ëÒ»°ë°É£©¡£ËùÒÔµ½ÏÖÔÚΪֹ£¬ËûµÄÌå»ýÊǺܴóµÄ¡£Óн«½ü1500¸öC/C++Í·ÒýÓúÍÔ´´úÂëÎļþ£¬Õû¸öÐéÄâ»úµÄ´úÂë¼ÓÆðÀ´²î²»¶àÓÐ25ÍòÐС£ÕâЩԴ´úÂëÖк¬Óдó¼ÒËùÆÚÍû¿´µ½µÄÀà×°ÔØÆ÷µÄʵÏÖ£¬ÒÔ¼°×Ö½ÚÂë½âÊÍÆ÷£¬ÆäËûÏà¹Ø¸¨ÖúµÄÔËÐÐʱ×Ó³ÌÐò£»»¹ÓÐÁ½¸öruntime±àÒëÆ÷£¨compilers £©ÊµÏÖ£¬ÕýÊÇËûÃÇ°ïÖúÎÒÃÇ°ÑÀàµÄ×Ö½ÚÂëÎļþת»»³É±¾µØµÄ»úÆ÷Ö¸Áî¡£µ±È»»¹ÓдóÔ¼3¸öÀ¬»øÊÕ¼¯Æ÷ÒÔ¼°Ò»ÏµÁÐÓÃÀ´ÊµÏÖͬ²½µÄ¸ßÐÔÄÜÔËÐпâÎļþµÈµÈ¡£
¡¡¡¡ËäÈ»Äã¿ÉÒÔ»ñµÃÒÔÉÏÕâЩԴ´úÂëµÄʵÏÖ£¬µ«ÊÇ»¹ÓÐһЩ¶«Î÷²¢Ã»Óаüº¬ÔÚÔ´´úÂëÖУ¬Æ©Èç˵javaÀà¿â£¬ËùνµÄÀà¿â¾ÍÊÇƽʱ´ó¼Ò±à³ÌʱÓõ½µÄAPIÀà¿â£¨Èçjava.langµÈµÈ£©£¬ÕâЩÀà¿âÓëjavaÐéÄâ»ú¹²Í¬¹¹³ÉÁËjavaÔËÐÐʱ»·¾³£¨JRE£©ºÍjava¿ª·¢»·¾³£¨JDK£©¡£µ±È»Äã¿ÉÒÔµ¥¶ÀÏÂÔØÕâЩÀà¿â´úÂë¡£»¹ÓоÍÊÇÄã²»¿ÉÄÜÓµÓÐÎÒÃÇÕâ¸öÁîÈ˲»¿É˼ÒéµÄ¸ßÆ·ÖʵÄÍŶӣ¬ÕýÊÇÕâ¸öÍŶÓÈÃÎÒÃÇÔÚ¶ÔjavaÕâ¼Ü·É»úÐÞÀí¸Ä½øµÄͬʱÓÖ²»Ó°ÏìËûµÄ³ÖÐøÇ°º½¡£µ±È»ÄãÒ²²»»áÓÐ×Ô¶¯»¯²âÊÔ»·¾³ºÍÉ豸ÆëÈ«µÄÊÔÑéÊÒ£¨ÕâЩÉ豸°üÀ¨¸ßËÙÓëÂýËÙ£¬µ¥´¦ÀíÆ÷ºÍ¶à´¦ÀíÆ÷£¬Ô¤×°Á˲»Í¬²Ù×÷ϵͳºÍ±àÒëÆ÷µÄ¸÷ÖÖ»úÆ÷£©¡£ÄãÒ²²»»áÓµÓÐÎÒÃÇÕâ¸ö¸ßЧµÄÍŶӣ¬ÕýÊÇËûÈÃÎÒÃDz»¶Ï½ø²½£¬Ô¶Àëµ¹Í˵ÄÄàÕÓ¡£»¹ÓÐÎÒÃǵĻï°éºÍ»ñµÃÊÚȨµÄµÄÈË£¬ÓÐÁËËûÃǵİïÖú²ÅʹÎÒÃÇд³öÇá±ã¼ò½àµÄ´úÂë¡£Äã¸ü²»¿ÉÄÜ»ñµÃÊýÒÔÒڼƵÄÓõÄˬ»òÕß²»Ë¬µÄÓû§£¬ËûÃÇÈÃÎÒÃdzÖÐø¹Ø×¢ÎÊÌâ·¢ÉúµÄËùÔÚ²¢ÓèÒÔ½â¾ö¡£ºÃÁË£¬Èç¹ûÄãÏë»ñµÃÒÔÉÏÂÞÁеÄÒ»Çкô¦µÄ»°£¬ÄÇôÄã¾Í±ØÐëÔÚƽ̨³ÖÐøµÄ¿ª·¢¹ý³ÌÖÐÓëÎÒÃǺÏ×÷£¬Ê¹Ëû·¢Õ¹µÄ¸ü¼ÓÃÀºÃ¡£


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

JAVA xml LSParserFilterµÄÓ¦ÓÃ

LSParserFilter---ÔØÈëÓë±£´æ
Ó¦ÓÃorg.w3c.dom ʵÏÖXMLµÄÔØÈëÓë±£´æʵÀý
/**
* ʵÏÖDOM3µÄLS(Load & Save)¹¦ÄÜ
*
* @author S.Well
* @see org.w3c.dom.DOMErrorHandler
* @see org.w3c.dom.ls.LSParserFilter
*/
public class XML_LS implements DOMErrorHandler, LSParserFilter {
private static ......

javaðÅÝÅÅÐòËã·¨

package ch01;
 2
 3public class BubbleSort
 4{
 5    
 6    
 7    public static void main(String[] args){
 8        int[]& ......

Java IO °üÖеÄDecoratorģʽ

JDKΪ³ÌÐòÔ±ÌṩÁË´óÁ¿µÄÀà¿â£¬¶øΪÁ˱£³ÖÀà¿âµÄ¿ÉÖØÓÃÐÔ£¬¿ÉÀ©Õ¹ÐÔºÍÁé»îÐÔ£¬ÆäÖÐʹÓõ½ÁË´óÁ¿µÄÉè¼Æģʽ£¬±¾ÎĽ«½éÉÜJDKµÄI/O°üÖÐʹÓõ½µÄDecoratorģʽ£¬²¢ÔËÓôËģʽ£¬ÊµÏÖÒ»¸öеÄÊä³öÁ÷Àà¡£
¡¡¡¡Decoratorģʽ¼ò½é
¡¡¡¡DecoratorģʽÓÖÃû°ü×°Æ÷(Wrapper)£¬ËüµÄÖ÷ÒªÓÃ;ÔÚÓÚ¸øÒ»¸ö¶ÔÏó¶¯Ì¬µÄÌí¼ÓһЩ¶îÍâµÄÖ°Ôð¡£Ó ......

javaÖеĻù±¾Êý¾ÝÀàÐͳ¤¶È

        char[] cha = operator.toCharArray();
        char ch = cha[0];
        double sum = 0;
        switch (ch) {
      &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ