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

Java´ò°ü³É¿ÉÖ´ÐÐÎļþ²½ÖèÏê½â

ºËÐÄ˼Ï룺°Ñº¬main·½·¨µÄÈë¿ÚÀàÌí¼Óµ½MANIFEST.MFÎļþÖС£
²½Ö裺
¼ÙÉèÓÐÁ½¸öÀàÎļþÒª´ò°ü£¬ËüÃÇ·Ö±ðÊôÓÚ²»Í¬µÄpackage¡£
package com.test.jar;   
import java.awt.*;   
import javax.swing.*;   
public class Jar extends JFrame   
{   
     public Jar()   
     {   
           Toolkit kit = Toolkit.getDefaultToolkit();   
           setIconImage(kit.getImage("img/ico.gif"));   
           setTitle("JarTest");   
           setSize(300, 200);   
           setVisible(true);   
           setDefaultCloseOperation(EXIT_ON_CLOSE);   
     }   
}   
///////
package com.test.jar;   
import java.awt.*;   
import javax.swing.*;   
public class Jar extends JFrame   
{   
     public Jar()   
     {   
           Toolkit kit = Toolkit.getDefaultToolkit();   
           setIconImage(kit.getImage("img/ico.gif"));   
           setTitle("JarTest");   
           setSize(300, 200);   
      &nb


Ïà¹ØÎĵµ£º

¶Ôjava¼¼ÊõStringµÄ̽ÌÖ

ÒªÀí½â javaÖÐStringµÄÔË×÷·½Ê½£¬±ØÐëÃ÷È·Ò»µã£ºStringÊÇÒ»¸ö·Ç¿É±äÀࣨimmutable£©¡£Ê²Ã´ÊǷǿɱäÀàÄØ£¿¼òµ¥ËµÀ´£¬·Ç¿É±äÀàµÄʵÀýÊDz»Äܱ»Ð޸ĵģ¬Ã¿¸öʵÀýÖаüº¬µÄÐÅÏ¢¶¼±ØÐëÔÚ¸ÃʵÀý´´½¨µÄʱºò¾ÍÌṩ³öÀ´£¬²¢ÇÒÔÚ¶ÔÏóµÄÕû¸öÉú´æÖÜÆÚÄڹ̶¨²»±ä¡£javaΪʲôҪ°ÑStringÉè¼ÆÎª·Ç¿É±äÀàÄØ£¿Äã¿ÉÒÔÎÊÎÊ james Gosling £º£©¡£µ ......

JavaÖеÄ×Ö·û±àÂëÓë½âÂë(ת)

ת http://jiangzhengjun.javaeye.com/blog/506952
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Outp ......

×ܽáJavaÖÐreturnÓï¾äµÄÓ÷¨

JavaÖеÄreturnÓï¾ä×ÜÊǺͷ½·¨ÓÐÃÜÇйØÏµ£¬returnÓï¾ä×ÜÊÇÓÃÔÚ·½·¨ÖУ¬ÓÐÁ½¸ö×÷Óã¬Ò»¸öÊÇ·µ»Ø·½·¨Ö¸¶¨ÀàÐ͵ÄÖµ(Õâ¸öÖµ×ÜÊÇÈ·¶¨µÄ)£¬Ò»¸öÊǽáÊø·½·¨µÄÖ´ÐÐ(½ö½öÒ»¸öreturnÓï¾ä)¡£
¡¡¡¡ÔÚreturnÓï¾äµÄ¸÷ÀàÎÄÕÂÖУ¬´ó¶à½ö½ö½éÉÜÁËreturnÓï¾äÓÃÓÚÓзµ»ØÖµ(·Çvoid·µ»ØÖµ)µÄ·½·¨ÖС£¶øºÜÉÙ»òûÓнéÉÜreturnÓï¾äÔÚvodi·µ»ØÖµ·½·¨ ......

dzÎöJavaÐòÁл¯»úÖÆ

    Javaµ±ÖеÄÐòÁл¯£¬ÆäÖ÷ÒªµÄ×÷ÓÃÊǽ«ÀàµÄʵÀý½øÐÐÎÞËð´«Ê䣬»òÕß˵¾ÍÊÇͨ¹ýJavaµÄÐòÁл¯»úÖÆ£¬JavaÀàµÄʵÀý¿ÉÒÔͨ¹ýObjectÁ÷À´´«ÊäºÍÖØÐ»ñÈ¡£¬¶ø²»»áËð»µÀàµÄʵÀý¡£
    Ê×ÏÈ£¬ÎÒÃÇ¿´¿´Ê²Ã´ÑùµÄÀàÊÇÐòÁл¯À࣬
      1.AÀà×ÔÉíʵÏÖÁËSerializable½Ó¿ÚµÄÀࣻ ......

java »ù±¾Êý¾ÝÀàÐÍÖ®¼äµÄת»»

 java »ù±¾Êý¾ÝÀàÐÍÖ®¼äµÄת»»
    
 
ʵ¼ýÍ·±íʾÎÞÊý¾Ý¶ªÊ§µÄת»»
Ðé¼ýÍ·±íʾÓÐÊý¾Ý¶ªÊ§µÄת»»
ÔÚ½øÐжþÔª¼ÆËãµÄʱºò£¬ÏȽ«Á½¸ö²Ù×÷Êýת»»ÎªÍ¬Ò»ÖÖÀàÐÍ£¬ÔÙ¼ÆËã
    ¢ÙÈç¹ûÁ½¸öÊýÖÐÓÐÒ»¸öÊÇdoubleÀàÐ͵ģ¬ÄÇôÁíÒ»¸öÒ²½«×ª»»ÎªdoubleÀàÐÍ;
   &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ