Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎĵµ£º

JavaÓÅ»¯±à³Ì

1.       ÔÚCÓïÑÔÖУ¬ÎÒÃÇͨ³£Ï°¹ß°ÑÐèÒªµÄ¶ÔÏóÉêÃ÷·ÅÔÚº¯ÊýµÄ¿ªÍ·£¬µ«ÆäʵÕâÊǰװ×ÀË·ÑÁËÄڴ棬ÔÚJavaÖУ¬²»µ½ÐèÒªµÄʱºò£¬Çë²»Òª´´½¨¶ÔÏó¡£
2.       À¬»ø»ØÊջ᲻¶¨ÆÚµÄËÑË÷ÒѾ­Ã»ÓÐÓõĶÔÏó£¬È»ºóÊͷŶÔÏóµÄÄڴ棬µ«ÕâÖÖËÑË÷ÊDZȽϺÄ×ÊÔ´µÄ¡£ÎªÌá¸ßЧÂÊ£ ......

´ø×Åjavaѧpython

1. pythonÊÇÒ»ÖÖÈõÀàÐ͵Ľű¾ÓïÑÔ£¬ÔÚ¸ø±äÁ¿¸³ÖµÊÇÎÞÐèÖ¸¶¨±äÁ¿µÄÀàÐÍ£¬ÀýÈ磺
x=1                        #£¨ÕûÐÍ£©-------·¶Î§ÔÚ-2^31->2^31
x=2345L     &n ......

ÓÃjavaÄ£Äâä¯ÀÀÆ÷³ÌÐò

 ³ÌÐòÔ´´úÂ룺
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JOptionPane; ......

ת£ºÉîÈëÀí½âjava¶à̬ÐÔ

 ¿´µ½ÕâÆª¹ØÓÚJava¶à̬µÄÌû×Ó£¬¾õµÃºÜ¶à£¬»ù±¾º­¸ÇÁËJava¶à̬µÄ¸÷ÖÖ³¡¾°£¬ÕâÀïת¸ø´ó¼Ò²Î¿¼£º
http://blog.csdn.net/thinkghoster/archive/2008/04/19/2307001.aspx
ÉîÈëÀí½âjava¶à̬ÐÔ
        ×òÌì¿´µ½Ò»¸ö¹ØÓÚ¶à̬ÐÔµÄÌû×Ó£¬²Î¿¼ÁË»ØÌûÕßµÄÀí½â£¬¼ÓÈëÁËһЩ×Ô¼ºµÄ¿´·¨£¬ÕûÀí ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ