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

Java»ù±¾Êý¾ÝÀàÐ͵ÄÔËËã

¡¾Ö÷Ìâ¡¿  Java»ù±¾Êý¾ÝÀàÐ͵ÄÔËËã
¡¾¹Ø¼ü×Ö¡¿java »ù±¾Êý¾ÝÀàÐÍ
¡¾ÎÊÌâÃèÊö¡¿Çë¿´Èç¹ûÒ»¶Î´úÂë,Èç¹û²»ÔÚeclipseÀïÔËÐÐ,Çëд³öÊä³ö½á¹û
                  public static void main(String[] args) {
                            int j = 0;
                            for(int i = 0; i < 100 ; i ++){
                               j = j ++;
                            }
                            System.out.println(j);
                   }
          ºÜ¶àÈ˶¼»áºÁ²»ÓÌԥ˵ÊÇ100°É!¸æËßÄã,´ð°¸ÊÇ0
¡¾ÎÊÌâ·ÖÎö¡¿
          ÕâºÍJAVAµÄ»ù±¾Êý¾ÝÀàÐ͵ÄÔËËãÓйØ,JAVAµÄ»ù±¾Êý¾ÝÀàÐͶ¼ÊÇÖµÒýÓõÄ,Õâ¸ú¶ÔÏó²»Ò»Ñù.ͬÑù,ÔÚÄã¶Ô»ù±¾Êý¾ÝÀàÐͽøÐвÙ×÷ºó,Ëû»áÉú³ÉÔÚÄÚ´æÖл®·Ö³öÁíÍâÒ»¿éÄÚ´æÇø.Ê×ÏȸտªÊ¼J = 0 , ÔÚJ = J++µÄʱºò, µÈºÅÇ°ÃæµÄÄǸöJÒѾ­²»ÊÇJÉùÃûʱµÄÄÇ¿éÄÚ´æÇøÁË,JVMΪËûÖØ
ÐÂΪËû·ÖÅäÒ»¿éеÄÄÚ´æÇø.±ÈÈç˵,int j = 0 ʱ,jµÄÄÚ´æµØַΪ00xx01,ֵΪ0¡£ÄÇô¾­¹ýµÚһѭ»·µÄÒÔºóÇ°ÃæÄǸöJÄÚ´æµØַΪ00xx02,ֵΪ0£¬¶øºóÃæÄǸöJ£¨ÄÚ´æµØÖ·00xx01£©Ôò»á½øÐÐ++²Ù×÷£¬´ËʱËûµÄֵΪ1£¬²»¹ýËûÒѾ­²»ÄÜÓ°Ï쵽ǰÃæJµÄÖµÁË£¬´ËʱJµÄÄÚ´æµØÖ·¾ÍÒѾ­ÊǵȺÅÇ°ÃæµÄÄǸöJµÄÄÚ´æµØÖ·ÁË


Ïà¹ØÎĵµ£º

Java Encrypt Algorithm

/************************************************************************
*                                     & ......

ÓÐÖÖÏë·¨£¬ÏëѧJava£¡

ÏÖÔÚµÄÎÒ°¡£¬»¹ÊǸöѧÉú£¬¸Õ¸ÕѧÁ˵ãVB£¬¶¯×÷×î´óÒ²¾ÍÊÇÓÃVB±àдÁËÒ»¸ö¼ÆËã½×³ËµÄ¹¤¾ß£¬Ëµ³öÀ´ÕæÊÇÈø÷λ¿´¹ÙЦµô´óÑÀ……µ«ÊÇÎÒͻȻÓÐÖÖÏë·¨£¬ÏëѧJava£¬±¾ÈËרҵÊÇͨÐŹ¤³Ì£¬¾õµÃÒƶ¯Í¨ÐÅ»áÓÐÏ൱´óµÄǰ;£¬ÓÚÊÇÃÈÉúÁËÕâ¸öÏë·¨£¡¸÷λ¿´¹Ù±ðЦ»°ÎÒ£¬ÄÜÌá°ÎµÄÌá°Îµã£¬²»ÄÜÌá°ÎµÄ¸øµã¹ÄÀø£¡ÔÚÏÂл¹ý¸÷λÁË£¡ ......

JAVA Òì³£ throwable exception error throws throw

תÌù£ºhttp://lvp.javaeye.com/blog/356650
1.ÈçºÎÀí½âException,ErrorºÍThrowable
    ThrowableÊÇExceptionºÍErrorµÄ¸¸Àà.
    Error±íʾ´íÎó£¬Ò»°ãÊÇϵͳ¼¶µÄ´íÎó£¡
     ExceptionÒ»°ãÊdzÌÐòÔËÐÐÆÚ¼äµÄ´íÎó£¡
   
    ͨ³ ......

JAVA»ù±¾±äÁ¿µÄ¼¸µãÈÏʶ

     JAVAÖлù±¾±äÁ¿¹²°üÀ¨£ºbyte,short,int,long,float,double,char,boolean,ÔÚ³ÌÐòÖÐÓõÄ×îÆձ飬×î¶à£¬µ«ÊÇËüÃǵÄһЩ¹Ø¼üÒ²¾­³£±»ÎÒÃÇËùºöÂÔ£¬ÎÒ½ñÌì×ܽáÁËһϣ¬ÌùÔÚÕâÀï¡£¡£¡£
   
1.
±äÁ¿¶¨Ò壺
Ò»¸öÓɱêʶ·û¶¨ÒåµÄÊý¾ÝÏ°üÀ¨ÀàÐÍ¡¢Ãû³ÆºÍÖµÈý¸ö²¿·Ö
2.
±äÁ¿·ÖÀࣺ
Àà ......

Java ѧÉú¹ÜÀíϵͳ´úÂë

//³õѧJAVA  ¿ª·¢ÁËÒ»¸ö ѧÉú¹ÜÀí³ÌÐò£¬ÄóöÀ´É¹É¹£¬ÒÔ±ã´ó¼Ò²Î¿¼»òÆÀÂÛ Ö¸³ö²»×ãÖ®´¦£¡Ð»Ð» ÓÉÓÚ´Ë´¦²»ÄÜÉÏ´«ÕÕƬ£¬¹Ê·ÅÔÚÎÒµÄÏà
//²áÀïÃæ
//Õâ¸öµÇÈë½çÃæµÄ³ÌÐò£º
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
impor ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ