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

java´íÌ⼯


Õý¶à±ßÐÎÖÐ×µÄ¶Ô½ÇÏß¾ÍÊÇÖ÷¶Ô½ÇÏߣ¬ÆäÓàµÄ¶Ô½ÇÏß¾ÍÊǸ±¶Ô½ÇÏß
lang ÊÇ language£¨ÓïÑÔ£© µÄ¼òд
ÊÇjavaÖг£Ó÷½·¨×î¶àµÄ°ü
°üº¬³£ÓÃÀà
 
 
 
Runnable½Ó¿Ú£¬Ö»ÓÐÒ»¸ö·½·¨run()
exit(int status)
          ÖÕÖ¹µ±Ç°ÕýÔÚÔËÐÐµÄ Java ÐéÄâ»ú¡£
System.exit(0);
    import javax.swing.JOptionPane;     
    public class LableTest 
    {public static void main(String[] args)
    {String output="";       
    rownnext:
    for (int row=1;row<=5;row++)
    { output+="\n";
    for(int column=1;column<=10;column++)
    {if(column>2*row-1)
       continue rownnext;
    output+="*";
    }
    }
    JOptionPane.showMessageDialog(null,output,"testing continue with a label",
       JOptionPane.INFORMATION_MESSAGE);
     System.exit(0);
    }
    }
 
ÐèÒªµ¼Èë°ü
import java.awt.Graphics£¬¹©paint(Graphics g)·½·¨ÒýÓã¬
import javax.swing.JApplet;
   
public class TestRow extends Japplet
1
ÔõÑùдһ¸öJava³ÌÐò¿ÉÒÔÈÃËüËæ»ú²úÉú4¸öµ¥´Ê
 
 
 
 
 
×÷Õߣºbeijiubeidaodi 
  
2009-2-24 12:45 ¡¡ »Ø¸´´Ë·¢ÑÔ  
 
 
4
»Ø¸´£ºÔõÑùдһ¸öJava³ÌÐò¿ÉÒÔÈÃËüËæ»ú²úÉú4¸öµ¥´Ê
 
ÉÏÃæµÄÁ¬Õâ¸ö¶¼²»ÖªµÀÔõô×öÂ𣬼ÈȻ֪µÀRANDOM()·½·¨¿ÉÒÔËæ»úÊý×Ö£¬¾Í²»ÖªµÀ°Ñµ¥´ÊÊÂÏÈ´æµ½Êý×éÀïÃæ£¬Êý×é²»ÊÇÓÃϱêÀ´±éÀúµÄÂ𣬸ù¾Ýϱ겻¾Í¿ÉÒÔËæ»úµ¥´ÊÂ𣡣¡£¡º¹¡£¡£¡£¡£×î»ù´¡µÄ¶«Î÷ÁË
ËØÊýÖ»ÐèÒª¼ÇסÄܱ»1ºÍ×ÔÉíÒÔÍâµÄÕûÊýÕû³ý¾ÍÐÐÁË£¬Àý1ºÍ×ÔÉíÒÔÍâµÄÕûµÄ±íʾ·½·¨for (i=2;i<m;i++)
APIÏëÑо¿£¬¾Í´Ólang,awt,io,netÕâËĸö°ü¿ªÊ¼£»Ïë²éÔÄ£¬¾Í¸ù¾ÝÀàÃûºÍËüµÄλÖÃÕÒ£¬ÁíÍ⻹ҪעÒâһЩ¶«Î÷¿


Ïà¹ØÎĵµ£º

¹ØÓÚJavaÖи÷ÖÖÐÞÊηûÓë·ÃÎÊÐÞÊηûµÄ˵Ã÷

¹ØÓÚJavaÖи÷ÖÖÐÞÊηûÓë·ÃÎÊÐÞÊηûµÄ˵Ã÷
Àࣺ
·ÃÎÊÐÞÊηû ÐÞÊηû class ÀàÃû³Æ extends ¸¸ÀàÃû³Æ implement ½Ó¿ÚÃû³Æ
£¨·ÃÎÊÐÞÊηûÓëÐÞÊηûµÄλÖÿÉÒÔ»¥»»£©
·ÃÎÊÐÞÊηû
Ãû³Æ
˵Ã÷
±¸×¢
public
¿ÉÒÔ±»ËùÓÐÀà·ÃÎÊ£¨Ê¹Óã©
publicÀà±ØÐ붨ÒåÔÚºÍÀàÃûÏàͬµÄͬÃûÎļþÖÐ
package
¿ÉÒÔ±»Í¬Ò»¸ö°üÖеÄÀà·ÃÎ ......

JAVAѧϰ֮·£º²»×ßÍä·£¬¾ÍÊǽݾ¶(Ò»)

0£®ÒýÑÔ
ÔÚChinaITLABµ¼Ê¦ÖƸ¨µ¼ÖУ¬±ÊÕß·¢ÏÖÎʵÃ×î¶àµÄÎÊÌâιýÓÚ"ÈçºÎѧϰ±à³Ì£¿JAVA¸ÃÈçºÎѧϰ£¿"¡£ÀàËÆµÄÎÊÌâ»Ø´ð¶àÁË£¬ÄÑÃâ»á¸Ð¾õÑá·³£¬¾ÍÃÈÉúÁËдϱ¾ÎĵÄÏë·¨¡£µ½Ê±ºòÔÙÓÐÈËÎÊÆðÀàËÆµÄÎÊÌ⣬ÎÒ¿ÉÒÔ¸æËßËû£¨Ëý£©£¬ÇëÄãÈ¥¿´¿´¡¶JAVAѧϰ֮·¡·¡£°Ý¶Á¹ý̨Íå²ÌѧïÞÏÈÉúµÄ¡¶JAVAҹδÃß¡·£¬ÓÐЩÎÄÕÂÈç¡¶JAVAѧϰ֮µÀ¡·µÈÈ ......

JAVAѧϰ֮·£º²»×ßÍä·£¬¾ÍÊǽݾ¶(¶þ)

±¸×¢£º
±¾ÎÄÑ¡×ÔChinaITLabÍøÐ£¿Î³Ì¡¶ÁõÏþÌÎJava¾Íҵֱͨ°àV2.0¡·Ö®Ô¤±¸ÖªÊ¶£¬µã»÷ÕâÀïÁ˽â¸ü¶à£¡
JAVAѧϰ֮·---ѧϰ·Ïß¼°Òªµã
2£®Èí¼þ¿ª·¢Ñ§Ï°Â·Ïß
Á½Ç§¶àÄêµÄÈå¼Ò˼Ïë¿×ÃÏÖ®µÀ£¬ÖÐÓ¹µÄ˼Ïë͸Èë¹ÇË裬¼È²»Ã°½øÒ²²»±£Êز¢·ÇÖÐÓ¹Ö®µÀ£¬¶øÊÇÕÒѰѧϰÈí¼þ¿ª·¢µÄÕýȷ·ÏßÓë¹æÂÉ¡£
´ÓÈí¼þ¿ª·¢ÈËÔ±µÄÉúÑĹ滮À´½²£¬ÎÒÃÇ¿É ......

java jxlÌí¼Óˮӡ(»ùÓÚjxl2.6.12Ð޸ıàÒë°æ)_

ÒòÊý¾Ý°²È«£¬ÐèÒª½«Éú³ÉµÄ±¨±íxls£¬Ìí¼Óˮӡ,ËùÒÔ×ÔÒÑÔÚjxlÖнøÐдúÂëÐ޸ġ£
ʹÓÃÀý×Ó
public class testJxl {
public static void main(String[] args) throws Exception {
OutputStream out = new FileOutputStream("./aaaa.xls"); // дÈëµ½FileInputStream
WritableWorkbook wwb= Workbook.createWorkbook(out);
......

´«ÖDz¥¿ÍjavaÅàѵ2010Äê4ÔÂ21java¸ßм¼Êõ5(·ºÐÍ)


ÔÚ´«ÖǵÄÕâ¶Îʱ¼äÿÌìµÄÇéÐÎÏë¶¼ÏëµÃµ½£¬Á½µãÒ»Ïߣ¬µ«ÊÇÿÌì¶¼¸Ð¾õµ½ºÜ³äʵ£¬Ñ§Ï°£¬²»Í£µÄѧϰ¡£Ô½ÊDz»Í£µÄѧϰ£¬Ô½ÊǸоõ×Ô¼ºµÄÁ¦Á¿ÊÇÄÇôµÄ΢±¡£¬×Ô¼ºµÄÄÜÁ¦ÊÇÄÇôµÄС£¬JAVAÕæÊDz©´ó¾«Éî¡£ÀÏʦ˵½ÐÎÒÃDz»Òªµ£ÐÄ£¬¿ÉÊÇÎÒ²»µ£ÐÄÒ²²»¿ÉÄÜŶ£¬±Ï¾¹ÔÚͬÀàѧУ±ÏÒµµÄ£¬Ò²ÐíÎÒÃÇ¿ÉÒÔËãµÃÉÏÊǺܲ»´íµÄ£¬µ«ÊǺÍÎÒÃÇ̨ͬ¾º¼¼µÄÈË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ