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

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

SCJP5ѧϰ±Ê¼Ç
 
Ï߳̽»»¥ÊDZȽϸ´ÔÓµÄÎÊÌ⣬SCJPÒªÇ󲻺ܻù´¡£º¸ø¶¨Ò»¸ö³¡¾°£¬±àд´úÂëÀ´Ç¡µ±Ê¹Óõȴý¡¢Í¨ÖªºÍ֪ͨËùÓÐÏ̡߳£
 
Ò»¡¢Ï߳̽»»¥µÄ»ù´¡ÖªÊ¶
 
SCJPËùÒªÇóµÄÏ߳̽»»¥ÖªÊ¶µãÐèÒª´Ójava.lang.Object
µÄÀàµÄÈý¸ö·½·¨À´Ñ§Ï°£º
 
 void notify()
          »½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄµ¥¸öÏ̡߳£
 void notifyAll()
          »½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄËùÓÐÏ̡߳£
 void wait()
          µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨¡£
 
µ±È»£¬wait()»¹ÓÐÁíÍâÁ½¸öÖØÔØ·½·¨£º
 void wait(long timeout)
          µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨£¬»òÕß³¬¹ýÖ¸¶¨µÄʱ¼äÁ¿¡£
 void wait(long timeout, int nanos)
          µ¼Öµ±Ç°µÄÏ̵߳ȴý£¬Ö±µ½ÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨£¬»òÕßÆäËûij¸öÏß³ÌÖжϵ±Ç°Ị̈߳¬»òÕßÒѳ¬¹ýij¸öʵ¼Êʱ¼äÁ¿¡£
 
ÒÔÉÏÕâЩ·½·¨ÊÇ°ïÖúÏ̴߳«µÝÏ̹߳ØÐĵÄʱ¼ä״̬¡£
 
¹ØÓڵȴý/֪ͨ£¬Òª¼ÇסµÄ¹Ø¼üµãÊÇ£º
±ØÐë´Óͬ²½»·¾³ÄÚµ÷ÓÃwait()¡¢notify()¡¢notifyAll()·½·¨¡£Ï̲߳»Äܵ÷ÓöÔÏóÉϵȴý»ò֪ͨµÄ·½·¨£¬³ý·ÇËüÓµÓÐÄǸö¶ÔÏóµÄËø¡£
wait()¡¢notify()¡¢notifyAll()¶¼ÊÇObjectµÄʵÀý·½·¨¡£Óëÿ¸ö¶ÔÏó¾ßÓÐËøÒ»Ñù£¬Ã¿¸ö¶ÔÏó¿ÉÒÔÓÐÒ»¸öÏß³ÌÁÐ±í£¬Ëû
ÃǵȴýÀ´×Ô¸ÃÐźţ¨Í¨Öª£©¡£Ïß³Ìͨ¹ýÖ´ÐжÔÏóÉϵÄwait()·½·¨»ñµÃÕâ¸öµÈ´ýÁÐ±í¡£´ÓÄÇʱºòÆð£¬Ëü²»ÔÙÖ´ÐÐÈκÎÆäËûÖ¸Áֱµ½µ÷ÓöÔÏóµÄ
notify()·½·¨ÎªÖ¹¡£Èç¹û¶à¸öÏß³ÌÔÚͬһ¸ö¶ÔÏóÉϵȴý£¬Ôò½«Ö»Ñ¡ÔñÒ»¸öỊ̈߳¨²»±£Ö¤ÒÔºÎÖÖ˳Ðò£©¼ÌÐøÖ´ÐС£Èç¹ûûÓÐÏ̵߳ȴý£¬Ôò²»²ÉÈ¡ÈκÎÌØÊâ²Ù
×÷¡£
 
ÏÂÃæ¿´¸öÀý×Ó¾ÍÃ÷°×ÁË£º
/**
* ¼ÆËãÊä³öÆäËûÏß³ÌËø¼ÆËãµÄÊý¾Ý
*
* @author leizhimin 2008-9-15 13:20:38
*/

public
class
ThreadA {
    public
static
void
main(String[] args) {
        ThreadB b = new
ThreadB()


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

JavaÖ®¸¸James Gosling̸¼ÆËã»ú±à³ÌÒÕÊõ

2002Ä꣬ÖøÃûµÄ”Java2ÐéÄâ»úÄÚÄ»”×÷Õ߶ÔJavaÖ®¸¸Õ²Ä·Ë¹·¸ß˹ÁÖ½øÐÐÁË·Ã̸£¬Ì¸»°ÖУ¬¸ß˹ÁÖ¾ÍÈí¼þÉè¼ÆµÄ¸´ÔÓÐÔºÍËã·¨·¢±íÁËËûµÄһЩ¿´·¨¡£¶ÔÓÐÖ¾ÓÚ´ÓÊÂITÈí¼þÐÐÒµµÄͯЬÀ´Ëµ£¬ÌýÌýר¼ÒµÄÒâ¼û£¬Ó¦¸Ã»¹ÊDz»ÎÞñÔÒæµÄ¡£
JavaÖ®¸¸James Gosling
2002Äê3ÔÂ22ÈÕ£¬Bill Venners²É·ÃÁËJavaÖ®¸¸£¬Ì¸ÂÛÁËÓйØÆóÒµÈ ......

ÉÐѧÌÃѧϰjava¸ÐÊÜ

 ÉÐѧÌÃѧϰjava¸ÐÊÜ
 ¡¾Ñ§Ô±¹ÊÊ¡¿À´×ÔÉÐѧÌÃÕæÈËÕæÊ£¨www.bjsxt.com£©
±¾ÎÄ×÷Õߣ¬³É£¬ÊÇÒ»¸öÓÄĬµÄѧԱ£¬¼òµ¥¸ÅÒªÒ»ÏÂËûµÄÇé¿ö£¬ËûÊÇÊýѧϵµÄ£¬×ÔÉÐѧÌñÏÒµºóÔø¾ÍÒµÓÚÎÄ˼£¨ÑÇÂíÑ·£©ÏîÄ¿£¬ÏÖ¾ÍÖ°ÓÚÑÇÐŹ«Ë¾£¬Ã¿Ò»´ÎÌøÔ¾¶¼±ÈÒÔÇ°¸ü¸ß£¡
     
´Ó´óѧ±ÏÒµµ½ÔÙѧϰÔÙµ½¹¤×÷£¬¸ÕºÃ ......

java³õʼ»¯Ë³Ðò

³õʼ»¯µÄʵ¼Ê¹ý³ÌΪ£º
ÔÚÆäËüÈκÎÊÂÎï·¢Éú֮ǰ£¬½«·ÖÅä¸ø¶ÔÏóµÄ´æ´¢¿Õ¼ä³õʼ»¯³É¶þ½øÖƵÄÁã¡£
¸¸Ààstatic ¿é»ò±äÁ¿
×ÓÀàstatic¿é»ò±äÁ¿
¸¸ÀàµÄÏÔʽ³õʼ»¯
¸¸À๹Ô캯Êý
×ÓÀàµÄÏÔʽ³õʼ»¯
×ÓÀàµÄ¹¹Ô캯Êý
´Ë¹ý³ÌÖÐÈôÓи¸À๹ÔìÌåÖе÷Ó÷½·¨¿É±»×ÓÀàÖØÔØ£¬ÔòJVM»á´Ó×îµÍ×ÓÀà¶ÔÏó´¦Ñ°ÕÒ´Ë·½·¨£¬ÕÒµ½ÔòÖ´ÐУ¬ËäÈ»´Ëʱ¶Ô ......

java ʵÏÖÖÐÓ¢ÎÄ»ìʱµÃµ½³¤¶È ¹ý³¤×Ö·ûÌæ»»

java ´úÂëʵÏÖ
 public static boolean isLetter(char c) { 
                 int k = 0x80; 
                 return c / k == 0 ? true : false;& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ