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

javaÖÐÉæ¼°¹¹ÔìÆ÷µÄÏà¹ØÎÊÌâ

            ÔÚ¿´µ½Thinking in java µÚËÄÕÂʱ³õʼ»¯Ïà¹ØÎÊÌâµÄʱºò£¬ÎÒÃDz»ÓɵذÑ×¢ÒâÁ¦ÒƵ½¹¹ÔìÆ÷ÉÏ¡£ÕâÀï×ö¸ö¼òµ¥µÄ×ܽᣬ±ãÓÚ¸ßÊÖÖ¸ÕýÒÔ¼°×Ô¼ºÎ¹ʡ£
      Ê×Ïȹ¹ÔìÆ÷ÊÇÒª¹¹ÔìÒ»¸ö¶«Î÷{¹¹Ôì¶ÔÏó£¨ÊµÀý£©}²¢¶ÔÆä³õʼ»¯¡£Ö®ËùÒԺܶà³ÌÐòÖÐûÓп´µ½Ëü£¬ÊÇÒòΪÔÚjava³ÌÐòÖÐÈç¹ûÄãû¶¨ÒåÈκι¹ÔìÆ÷£¬Ôò±àÒëÆ÷»á×Ô¶¯¸øÄã¼ÓÉÏĬÈϹ¹ÔìÆ÷£¨²»´øÈκβÎÊý£¬Ò²Ã»ÓГ·½·¨Ì唣©¡£ÌÈÈô×Ô¼º¶¨ÒåÁ˹¹Ôì·½·¨,±àÒëÆ÷½«²»ÔÙ×Ô¶¯Ìí¼Ó¡£¹¹ÔìÆ÷ÊÇ¿ÉÒÔÌṩºÜ¶à·½·¨£¬µ«Óë¹¹Ôì·½·¨ÓÖÓÐËù²»Í¬¡£ÈçRobert Nielsen Ëù˵£¬Õâ¹ØÏµ¾ÍºÃËÆ°Ä´óÀûÑǵÄѼ×ìÊÞÊÇÒ»ÖÖ²¸Óý¶¯Îï¡££¨ÒªÀí½âѼ×ìÊÞ£¬ÄÇôÏȱØÐëÀí½âËüºÍÆäËû²¸Óý¶¯ÎïµÄÇø±ð¡££©
    Æä´Î¹¹ÔìÆ÷Óм¸µã¼òµ¥µÄÒªÇó£º
    a£¬¹¹ÔìÆ÷Ðè²ÉÓÃÓëÀàÃûÏàͬµÄÃû³Æ£¨´óСдҲҪһÖ£©£»
    b£¬¹¹ÔìÆ÷ûÓзµ»ØÖµ£¨Ò²ÎÞÐèÌí¼Óvoid£©£»
    c, ¹¹ÔìÆ÷ÐÞÊηû½öÓÐpublic£¬private¼°protectedÈý¸ö£»
    d£¬¹¹ÔìÆ÷Óë¹¹Ôì·½·¨´æÔÚ²»Í¬£¬Èç¹¹Ôì·½·¨²»½öÒª¸ø¶ÔÏóʵÀý±äÁ¿¸³Öµ£¬²¢ºÍnewÒ»Æð´´½¨¶ÔÏó¡£
    e£¬¸¸ÀàÖеĹ¹ÔìÆ÷²»Äܱ»¼Ì³Ð£¬¸¸ÀàÖеķ½·¨¿ÉÒԼ̳С£
    f£¬Í¬Ò»ÀàÖеĹ¹ÔìÆ÷¿ÉÒÔÖØÔØ¡£
    g£¬×ÓÀàÓ븸À๹ÔìÆ÷±àÒëʱ³£³ö´íµÄ¹Ø¼üÈçÏ£º
ÀýÒ»£º
class A {
   public A() {
      System.out.println("A");
    }
}
class B extends A{
   public B(String str) {
      System.out.println("B");
    }
}
class C extends B{
   public C(String str) {super(str);System.out.println("C String");
     }
   public C(int n) {System.out.println("C int");super("" + n);
     }
}
˵Ã÷£º
±àÒë´íÎ󣬵÷Óø¸ÀàµÄ¹¹ÔìÆ÷Óï¾äÓ¦¸ÃΪÀ๹ÔìÆ÷ÖеĵÚÒ»¸öÓï¾ä¡£
ÐÞ¸ÄΪ£ºpublic C(int n) {super("" + n);System.out.println("C int");}
ʹÓãºC c = new C(10); //Êä³ö£ºA B C
Àý¶þ£º
class TestSuper{
    TestSuper(int i){}   &nb


Ïà¹ØÎĵµ£º

javaÈëÃÅ

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

javaµ÷ÓÃÍⲿ³ÌÐò ±ØÉ± ·¾¶¿Õ¸ñûÓÐÎÊÌâ

javaµ÷ÓÃÍⲿ³ÌÐò ±ØÉ± ·¾¶¿Õ¸ñûÓÐÎÊÌâ      
Runtime rt = Runtime.getRuntime();
srcFile.getName();
try {
String cmd[]={"cmd","/c",srcFile.getAbsolutePath()};
rt.exec(cmd);
} catch (IOException e1) {
// TODO Auto-genera ......

ʵսJava¶àÏ̱߳à³Ì²»Ìᳫ×ö·¨

²»ÌᳫʹÓõķ½·¨ÊÇΪ֧³ÖÏòºó¼æÈÝÐÔ¶ø±£ÁôµÄÄÇЩ·½·¨£¬ËüÃÇÔÚÒÔºóµÄ°æ±¾ÖпÉÄܳöÏÖ£¬Ò²¿ÉÄܲ»³öÏÖ¡£Java ¶àÏß³ÌÖ§³ÖÔÚ°æ±¾ 1.1 ºÍ°æ±¾ 1.2 ÖÐ×öÁËÖØ´óÐÞ¶©£¬stop()¡¢suspend() ºÍ resume() º¯ÊýÒѲ»ÌᳫʹÓá£ÕâЩº¯ÊýÔÚ JVM ÖпÉÄÜÒýÈë΢ÃîµÄ´íÎó¡£ËäÈ»º¯ÊýÃû¿ÉÄÜÌýÆðÀ´ºÜÓÕÈË£¬µ«ÇëµÖÖÆÓÕ»ó²»ÒªÊ¹ÓÃËüÃÇ¡£
µ÷ÊÔÏ̻߳¯µÄ ......

WindowsMobileϵͳ¹ÜÀíjava²å¼þ

       WindowsMobileϵͳÎÞ·¨Ö±½Ó¹ÜÀíJAVA²å¼þ£¬ÐèÒª½èÖúJAVAÐéÄâ»úÀ´¹ÜÀíJAVA²å¼þ£¬WMƽ̨³£¼ûµÄJAVAÐéÄâ»úÓÐJbedºÍJblend¡£ÏÂÃæ¾ÍWMƽ̨¹ÜÀíJAVA²å¼þ×ö¼òÒª½éÉÜ¡£
1¡¢Jbed
Esmertec¹«Ë¾µÄ²úÆ·£¬ÍⲿÃüÁî¹ÜÀí·½Ê½Îª£º
°²×°£º\Windows\jbed.exe -DFile.maxStorageSize=64M -ginstall \" ......

¼òµ¥µÄwebservices£¨java£©

    ×ª×Ôhttp://www.cnblogs.com/liwp_stephen/archive/2008/08/03/1259385.html£¬·Ç³£¸Ðл×÷ÕߵķÖÏí
 
    ʹÓÃAxis±àдWebService±È½Ï¼òµ¥£¬¾ÍÎÒµÄÀí½â£¬WebServiceµÄʵÏÖ´úÂëºÍ±àдJava´úÂëÆäʵûÓÐÊ²Ã´Çø±ð£¬Ö÷ÒªÊǽ«ÄÄЩJavaÀà·¢²¼ÎªWebService¡£ÏÂÃæÊÇÒ»¸ö´Ó±àд²âÊÔÀý× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ