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

С±àdz̸Java³ÌÐò±àд¹æ·¶

½ñÌìС±àºÍ´ó¼Ò·ÖÏíµÄÊÇJava³ÌÐò±àд¹æ·¶£¬Ï£ÍûÄܶԴó¼ÒÓÐËù°ïÖú¡£
exit()
exit ³ýÁËÔÚ main ÖпÉÒÔ±»µ÷ÓÃÍ⣬ÆäËûµÄµØ·½²»Ó¦¸Ãµ÷Óá£ÒòΪÕâÑù×ö²»¸øÈκδúÂë´úÂë»ú»áÀ´½Ø»ñÍ˳ö¡£Ò»¸öÀàËƺǫ́·þÎñµØ³ÌÐò²»Ó¦¸ÃÒòΪijһ¸ö¿âÄ£¿é¾ö¶¨ÁËÒªÍ˳ö¾ÍÍ˳ö¡£
Òì³£
ÉêÃ÷µÄ´íÎóÓ¦¸ÃÅ׳öÒ»¸öRuntimeException»òÕßÅÉÉúµÄÒì³£¡£
¶¥²ãµÄmain()º¯ÊýÓ¦¸Ã½Ø»ñËùÓеÄÒì³££¬²¢ÇÒ´òÓ¡£¨»òÕ߼ǼÔÚÈÕÖ¾ÖУ©ÔÚÆÁÄ»ÉÏ¡£
À¬»øÊÕ¼¯
JAVAʹÓóÉÊìµÄºǫ́À¬»øÊÕ¼¯¼¼ÊõÀ´´úÌæÒýÓüÆÊý¡£µ«ÊÇÕâÑù»áµ¼ÖÂÒ»¸öÎÊÌ⣺Äã±ØÐëÔÚʹÓÃÍê¶ÔÏóµÄʵÀýÒÔºó½øÐÐÇ峡¹¤×÷¡£±ÈÈçÒ»¸öprelµÄ³ÌÐòÔ±¿ÉÄÜÕâôд£º   ...
       {
              FileOutputStream fos = new FileOutputStream(projectFile);
              project.save(fos, "IDE Project File");
       }
       ...
³ý·ÇÊä³öÁ÷Ò»³ö×÷ÓÃÓò¾Í¹Ø±Õ£¬·ÇÒýÓüÆÊýµÄ³ÌÐòÓïÑÔ£¬±ÈÈçJAVA£¬ÊDz»ÄÜ×Ô¶¯Íê³É±äÁ¿µÄÇ峡¹¤×÷µÄ¡£±ØÐëÏóÏÂÃæÒ»Ñùд£º      FileOutputStream fos = new FileOutputStream(projectFile);
       project.save(fos, "IDE Project File");
       fos.close();
 
 
Clone
ÏÂÃæÊÇÒ»ÖÖÓÐÓõķ½·¨£º   implements Cloneable
 
  public
    Object clone()
    {
      try {
        ThisClass obj = (ThisClass)super.clone();
        obj.field1 = (int[])field1.clone();
        obj.field2 = field2;
        return obj;
      } catch(CloneNotSupportedException e) {
        throw new InternalError("Unexpected CloneNotSUpportedException: " + e.getMessage());
      }
  }
 
 
&nb


Ïà¹ØÎĵµ£º

[vb]ʹÓÃvbͳ¼Æ.javaµÄÐÐÊý

 ¹¤×÷ÐèÒª£¬Õë¶ÔjavaÎļþ£¬×÷ÁËÒ»¸öÐÐÊýͳ¼ÆµÄ¹¤¾ß¡£Í³¼ÆµÄÖ÷Òª´úÂëÈçÏ£º
    Set srcIn = fso.OpenTextFile(fileNm, ForReading)
    
    Do While Not srcIn.AtEndOfStream
        buf = srcIn.ReadLine
 &nbs ......

javaÓëC++ÖÐÎÄ×Ö·ûµÄÎÊÌâ

 
ÖÐÎĵıàÂë³£ÓõÄÓÐ3ÖÖ¸ñʽ£º1£©gb2312(¾ÍÊÇasciiÂ뷽ʽ£¬Ò²Ëµansi) 2)unicode 3)utf-8
c++Ò»°ã²ÉÓÃanciiÂ룬¶øjavaÒ»°ã²ÉÓÃunicode£¬¶øSymbianC++£¨ÒÔºó¼ò³Æsymbian£©²ÉÓÃunicode»òutf-8
±ÈÈ纺×Ö“ºÃ”£º unicodeΪ“7D 59”£¬¶øasciiΪ“BA C3”, utf-8±àÂëΪ3¸ö×Ö½Ú¡£
ÖÕ¶ËÄã ......

¡¶Effective javaÖÐÎĵÚ2°æ¡·¶ÁÊé±Ê¼Ç1

µÚ2Ìõ£ºÓöµ½¶à¸ö¹¹ÔìÆ÷²ÎÊýʱҪ¿¼ÂÇÓù¹½¨Æ÷
ij¸öÀàµÄÊôÐԽ϶࣬³õʼ»¯µÄʱºòÓÖÓÐһЩÊDZØÐë³õʼ»¯µÄ£¬¶øÇÒÀàÐÍÓÐÐÎͬ£¬
±ÈÈçnew Contact("ÐÕÃû","ÏÔʾÃû","ÊÖ»úºÅ","·ÉÐźÅ","ËùÔÚµØ",ÄêÁä,ÐÔ±ð);
Ç°5¸öÊôÐÔÊÇString ÀàÐÍ£¬ºó2¸öÊÇintÀàÐÍ£¬ÔÚÌîд¹¹Ôì·½·¨µÄʱºòºÜÈÝÒ×Ìîд´í룬»òÕßÉÙÌîд£¬»òÕߵߵ¹ÁËÊôÐÔ£¬
ÈçÏ ......

JAVAʵÏÖOracleÊý¾Ý¿âµÄÊý¾ÝµÄ·ÖÒ³ÏÔʾ

 
×î½üѧÁËservletºÍoracle£¬Ò²¾Í°ÑËûÃǽáºÏÏ£¬×ö¸ö·ÖÒ³µÄÒ³Ãæ³öÀ´¡£ËãÊÇÒ»ÖÖ¸´Ï°°É¡£
1.Ê×ÏÈÊÇoracleµÄ·ÖÒ³ÏÔʾSQLÓï¾ä£º
select * from(select a.*, rownum  rn from (select * from Person) a where  rownum <= MaxN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ