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

JavaÐòÁл¯¼òÃ÷¸ÅÒª

1. ¸ÅÄ ÐòÁл¯¾ÍÊǰѶÔÏó±ä³É¶ÔÏóÁ÷£¨È·ÇÐ˵ÊǰѶÔÏóµÄÊôÐÔдÈëÁ÷£©£¬Èç¹ûÐèÒª½ø¶ø¿ÉÒ԰ѶÔÏóÁ÷´æ³É¶þ½øÖÆÎļþ£»
2. Ä¿µÄ£º ÐòÁл¯µÄÄ¿µÄÊÇΪÁË·½±ãÓÀ¾Ã´æ´¢»òÕßÍøÂç´«Ê䣻
3. ÈçºÎʵÏÖ£º ½«ÀàʵÏÖSerializable½Ó¿Ú¼´¿É£¬ÎÞ±ØÐëʵÏֵķ½·¨£¬ÊµÏָýӿÚÖ»ÊÇΪÁ˱êʶ¸ÃÀà¿É±»ÐòÁл¯£»
4. £¨×ª£©ÆäËûÐèÒªÖªµÀµÄ£º
  Ò»¡¢ÔÚ¿ÉÐòÁл¯ÀàÖÐÒª¶¨ÒåserialVersionUID£»
  ¶þ¡¢±êʶ²»ÐèÒªÐòÁл¯µÄ³ÉÔ±£¬¿ÉÒÔʹÓÃtransient¹Ø¼ü×Ö£»
  Èý¡¢ÓÃÀ´±»¼Ì³ÐµÄÀ࣬¾¡Á¿²»ÊµÏÖSerializable£¬ÓÃÀ´±»ÊµÏÖµÄinterfaceÒ²²»Òª¼Ì³ÐSerializable¡£Èç¹û¸¸À಻ʵÏÖSerializable½Ó¿Ú£¬×ÓÀàºÜÄÑʵÏÖËü£¬ÌرðÊǶÔÓÚ¸¸ÀàûÓÐÎ޲ι¹Ô캯ÊýµÄʱºò¡£ËùÒÔ£¬²»ÊµÏÖSerializable½Ó¿ÚÇҿɱ»¼Ì³ÐµÄÀ࣬ÇÒ×ÓÀàÐëÐòÁл¯ÊÇ£¬ÐèÒªÌṩһ¸öÎÞ²ÎÊý¹¹Ô캯Êý¡£


Ïà¹ØÎĵµ£º

JAVA DATE×ܽá

1.¼ÆËãijһÔ·ݵÄ×î´óÌìÊý
Calendar time=Calendar.getInstance();
time.clear();
time.set(Calendar.YEAR,year); //year Ϊ int
time.set(Calendar.MONTH,i-1);//×¢Òâ,Calendar¶ÔÏóĬÈÏÒ»ÔÂΪ0          
int day=time.getActualMaximum(Calendar.DAY_OF_MON ......

´«ÖDz¥¿ÍjavaÅàѵ java»ù´¡Ö®Pool

×òÌìÓиöÅóÓÑÎÊÎÒ£¬Ñ§µÃ»á²»,°³ËµÑ§µÄ»á£¡
ºóÀ´ËûÓÖÎÊÎÒ£¬ËûÈç¹ûѧµÄ»°£¬Ñ§µÄ»áѧ²»»á£¬°³ËµÖ»Òª²»±¿µ°£¬°ÑÐÄ˼·ÅÔÚjavaÉÏ£¬¾ÍÒ»¶¨Ñ§µÄ»á£¡
ʱ¼äÒ»Ö±¹ýµÄ¶¼ºÜ¿ì£¬Ã¿¸öÈËÄÜ°ÑÎÕµÄÒ²Ö»ÓнñÌ죬ËùÒÔ¼´Ê¹À§ÄÑÔٶֻ࣬ÓдËʱ´Ë¿Ì×Ô¼ºÔÚ²»Í£µÄŬÁ¦¡£
ÄÄÅÂÏñÎÏÅ£Ò»ÑùµÄÇ°½ø£¬Ò²Ò»¶¨Óгɹ¦µÄÒ»Ì죬¾ÍÅÂ×Ô¼º·ÅÆú£¬ÅÂ×Ô¼ºÃ»ÓÐÐÅÐÄ£ ......

Java µ÷Óà .Net Web Service ÎÊÌâ½â¾ö·½·¨·ÖÏí

Óкܳ¤Ò»¶Îʱ¼äûÓÐд²©¿ÍÁË¡£×î½üÒ»Ä꣬ÊÕµ½²»ÉÙ½»Á÷Óʼþ¶¼ÊǹØÓÚwebservice£¬´ó²¿·Ö¶¼ÊÇËØÒªwebserviceʵÀý¡£
Æäʵ¶Ôwebservice Á˽ⲻÊǺÜÉֻÊǸù¾Ý¹¤×÷ÐèҪȥ½Ó´¥£¬È¥Ñ§Ï°¡£×î½üÏîÄ¿ºÍÆäËûÒ»¸ö.netÏîÄ¿ÐèÒª×öÊý¾Ý½»»¥£¬½»»¥·½Ê½¾Í²ÉÓÃWebservice.
Ìؽ«¿ª·¢ÖÐÓöµ½µÄÎÊÌâ×ܽᲢ·ÖÏí£»
¿ª·¢ÖÐÓöµ½µÄÎÊÌâÓУº
1£©jav ......

javaµÄvolatileÊÇʲôÒâ˼


ÎÒÃÇÖªµÀ£¬ÔÚJavaÖÐÉèÖñäÁ¿ÖµµÄ²Ù×÷£¬³ýÁËlongºÍdoubleÀàÐ͵ıäÁ¿ÍⶼÊÇÔ­×Ó²Ù×÷£¬Ò²¾ÍÊÇ˵£¬¶ÔÓÚ±äÁ¿ÖµµÄ¼òµ¥¶Áд²Ù×÷ûÓбØÒª½øÐÐͬ²½¡£
ÕâÔÚJVM 1.2֮ǰ£¬JavaµÄÄÚ´æÄ£ÐÍʵÏÖ×ÜÊÇ´ÓÖ÷´æ¶ÁÈ¡±äÁ¿£¬ÊDz»ÐèÒª½øÐÐÌرðµÄ×¢ÒâµÄ¡£¶øËæ×ÅJVMµÄ³ÉÊìºÍÓÅ»¯£¬ÏÖÔÚÔÚ¶àÏ̻߳·¾³ÏÂvolatile¹Ø¼ü×ÖµÄʹÓñäµÃ·Ç³£ÖØÒª¡£
ÔÚµ±Ç° ......

Çë¾ýÈëÎÌ£¬Ô¶ÀëJavaÕä°®ÉúÃü£¡JavaµÄµÍ³É±¾Æ­¾Ö

       ¿´µ½Ô°×ÓµÄͬÁÅÃÇдµÄ¡¶¿çƽ̨¡·ÏµÁÐÖ®ºóÕæµÄÊÇÈÈѪ·ÐÌÚ£¬ÓÐЩ»°²»µÃ²»Ëµ£¬²»Äܲ»Ëµ¡£ÎÒÒª½ÒµôJavaÕâÒ»²ã²ãÃÀÀöµÄ“»­Æ¤”,Èôó¼Ò¿´¿´»­Æ¤Ö®ÏÂÊÇʲô£¿ÎÒÃÇ¿´µ½µÄ¶¼ÊÇһЩʲô£¿ÎÒ±¾È˲¢²»ÊÇÒ»¶¨µÃÍƼö´ó¼ÒÓÃ.NETƽ̨£¬µ«ÊÇÎÒ¾ÍÊÇ¿´²»¹ÜÓÐЩÈËÎóµ¼³õѧÕߣ¬ÏòËûÃÇ´«µ¼Ê²Ã´¶¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ