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

JavaỊ̈߳ºÏ̵߳ĵ÷¶È ºÏ²¢

JavaỊ̈߳ºÏ̵߳ĵ÷¶È-ºÏ²¢
 
Ï̵߳ĺϲ¢µÄº¬Òå¾ÍÊǽ«¼¸¸ö²¢ÐÐÏ̵߳ÄÏ̺߳ϲ¢ÎªÒ»¸öµ¥Ïß³ÌÖ´ÐУ¬Ó¦Óó¡¾°Êǵ±Ò»¸öÏ̱߳ØÐëµÈ´ýÁíÒ»¸öÏß³ÌÖ´ÐÐÍê±Ï²ÅÄÜÖ´ÐÐʱ¿ÉÒÔʹÓÃjoin·½·¨¡£
 
joinΪ·Ç¾²Ì¬·½·¨£¬¶¨ÒåÈçÏ£º
void join()    
    µÈ´ý¸ÃÏß³ÌÖÕÖ¹¡£    
void join(long millis)    
    µÈ´ý¸ÃÏß³ÌÖÕÖ¹µÄʱ¼ä×Ϊ millis ºÁÃë¡£    
void join(long millis, int nanos)    
    µÈ´ý¸ÃÏß³ÌÖÕÖ¹µÄʱ¼ä×Ϊ millis ºÁÃë + nanos ÄÉÃë¡£
 
/**
* JavaỊ̈߳ºÏ̵߳ĵ÷¶È-ºÏ²¢
*
* @author leizhimin 2009-11-4 9:02:40
*/
public class Test {
        public static void main(String[] args) {
                Thread t1 = new MyThread1();
                t1.start();
                for (int i = 0; i < 20; i++) {
                        System.out.println("Ö÷Ï̵߳Ú" + i + "´ÎÖ´ÐУ¡");
                        if (i > 2) try {
                                //t1Ï̺߳ϲ¢µ½Ö÷Ïß³ÌÖУ¬Ö÷Ïß³ÌÍ£Ö¹Ö´Ðйý³Ì£¬×ª¶øÖ´ÐÐt1Ị̈߳¬Ö±µ½t1Ö´ÐÐÍê±Ïºó¼ÌÐø¡£
                                t1.j


Ïà¹ØÎĵµ£º

Javaƽ̨I18N Ö§³Ö¸ÅÊö

Ò»¡¢¹ú¼Ê»¯ºÍ Java ±à³ÌÓïÑÔ
 
ºÍ´ó¶àÊýʹÓÃÆäËüÓïÑԵijÌÐòÔ±²»Í¬£¬Java
³ÌÐòÔ±ÊÇ´óÁ¿¹¹½¨ÔÚ JDK ÖÐÌṩ I18N Ö§³ÖµÄ±ê×¼´úÂëµÄÊÜÒæÕß¡£´ó²¿·Ö´úÂë×î³õÀ´×Ô IBM µÄ Taligent ×Ó¹«Ë¾£¨×ԴӺϲ¢½ø
IBM ÒԺ󣩣¬´ú±íÁËÐí¶àÈËÄêµÄ¹¤×÷³É¹û£¬±È´ó¶àÊý¹«Ë¾¶À×ÔÔÚÆä²úÆ·ÖÐÌṩµÄ´úÂëÒªÇÐʵ¿ÉÐеöࡣ
 
ÕâЩ
´úÂë ......

µÚ01Õ CORE Java_»ù±¾¸ñʽ

1.Ì⣺javaÀúÊ·£¿
´ð£ºJava Ö®¸¸Golsling
1995 Äê5 ÔÂ23 ÈÕ Java µ®Éú  
1998 Äê12 Ô 1.2 °æ±¾Java2  J2SE J2EE J2ME  
2004 Äê12 Ô 1.5 °æ±¾(5.0) Java JavaSE JavaEE JavaME
2.Ì⣺JavaSE£¬JavaEE£¬JavaME£¿
´ð£ºJavaSE ---Java ±ê׼ƽ̨ 
JavaEE ---ÆóÒµ¼ ......

JavaỊ̈߳ºÏß³ÌջģÐÍÓëÏ̵߳ıäÁ¿

JavaỊ̈߳ºÏß³ÌջģÐÍÓëÏ̵߳ıäÁ¿
 
SCJP5ѧϰ±Ê¼Ç
 
ÒªÀí½âÏ̵߳÷¶ÈµÄÔ­Àí£¬ÒÔ¼°Ïß³ÌÖ´Ðйý³Ì£¬±ØÐëÀí½âÏß³ÌջģÐÍ¡£
Ïß³ÌÕ»ÊÇָijʱ¿ÌʱÄÚ´æÖÐÏ̵߳÷¶ÈµÄÕ»ÐÅÏ¢£¬µ±Ç°µ÷Óõķ½·¨×ÜÊÇλÓÚÕ»¶¥¡£Ïß³ÌÕ»µÄÄÚÈÝÊÇËæ×ųÌÐòµÄÔËÐж¯Ì¬±ä»¯µÄ£¬Òò´ËÑо¿Ïß³ÌÕ»±ØÐëÑ¡ÔñÒ»¸öÔËÐеÄʱ¿Ì£¨Êµ¼ÊÉÏÖ¸´úÂëÔËÐе½Ê²Ã´µØ· ......

JavaỊ̈߳ºÏ̵߳Ľ»»¥

JavaỊ̈߳ºÏ̵߳Ľ»»¥
 
SCJP5ѧϰ±Ê¼Ç
 
Ï߳̽»»¥ÊDZȽϸ´ÔÓµÄÎÊÌ⣬SCJPÒªÇ󲻺ܻù´¡£º¸ø¶¨Ò»¸ö³¡¾°£¬±àд´úÂëÀ´Ç¡µ±Ê¹Óõȴý¡¢Í¨ÖªºÍ֪ͨËùÓÐÏ̡߳£
 
Ò»¡¢Ï߳̽»»¥µÄ»ù´¡ÖªÊ¶
 
SCJPËùÒªÇóµÄÏ߳̽»»¥ÖªÊ¶µãÐèÒª´Ójava.lang.ObjectµÄÀàµÄÈý¸ö·½·¨À´Ñ§Ï°£º
 
 void notify()
......

JavaỊ̈߳ºÏ̵߳ĵ÷¶È Èò½

JavaỊ̈߳ºÏ̵߳ĵ÷¶È-Èò½
 
Ï̵߳ÄÈò½º¬Òå¾ÍÊÇʹµ±Ç°ÔËÐÐ×ÅÏß³ÌÈóöCPU×ÊÔ´£¬µ«ÊÇÈ»¸øË­²»ÖªµÀ£¬½ö½öÊÇÈóö£¬Ïß³Ì״̬»Øµ½¿ÉÔËÐÐ״̬¡£
 
Ï̵߳ÄÈò½Ê¹ÓÃThread.yield()·½·¨£¬yield() Ϊ¾²Ì¬·½·¨£¬¹¦ÄÜÊÇÔÝÍ£µ±Ç°ÕýÔÚÖ´ÐеÄÏ̶߳ÔÏ󣬲¢Ö´ÐÐÆäËûÏ̡߳£
 
/**
* JavaỊ̈߳ºÏ̵߳ĵ÷¶È-Èò½
*
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ