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

javaÀ¬»ø»ØÊÕµÄÁ½¸öÌõ¼þ

Ò»¡¢JAVAÀ¬»ø»ØÊÕ»úÖƸÅÊö
ÔÚVB¡¢C++µÈijЩ³ÌÐòÉè¼ÆÓïÑÔÖУ¬ÎÞÂÛÊǶÔÏó»¹ÊǶ¯Ì¬ÅäÖõÄ×ÊÔ´»òÄڴ棬¶¼±ØÐëÓɳÌÐòÔ±×ÔÐÐÉùÃ÷²úÉúºÍ»ØÊÕ£¬·ñÔòÆäÖеÄ×ÊÔ´½«²»¶ÏÏûºÄ£¬Ôì³É×ÊÔ´µÄÀË·ÑÉõÖÁËÀ»ú¡£ÓÉÓÚÒªÔ¤ÏÈÈ·¶¨Õ¼ÓõÄÄÚ´æ¿Õ¼äÊÇ·ñÓ¦¸Ã±»»ØÊÕÊǷdz£À§Äѵģ¬Õâ¾Íµ¼ÖÂÊÖ¹¤»ØÊÕÄÚ´æÍùÍùÊÇÒ»ÏÔÓ¶ø¼è¾ÞµÄ¹¤×÷¡£Òò´Ë£¬µ±Ê¹ÓÃÕâЩ³ÌÐòÉè¼ÆÓïÑÔ±à³Ìʱ£¬³ÌÐòÔ±²»½öÒª¿¼ÂÇÈçºÎʵÏÖËã·¨ÒÔÂú×ãÓ¦Ó㬻¹Òª»¨·ÑÐí¶à¾«Á¦¿¼ÂǺÏÀíʹÓÃÄÚ´æ±ÜÃâϵͳ±ÀÀ£¡£
Õë¶ÔÕâÖÖÇé¿ö£¬JAVAÓïÑÔ½¨Á¢ÁËÀ¬»ø»ØÊÕ»úÖÆ¡£JAVAÊÇ´¿´âµÄÃæÏò¶ÔÏóµÄ±à³ÌÓïÑÔ£¬Æä³ÌÐòÒÔÀàΪµ¥Î»£¬³ÌÐòÔËÐÐÆÚ¼ä»áÔÚÄÚ´æÖд´½¨ºÜ¶àÀàµÄ¶ÔÏó¡£ÕâЩ¶ÔÏóÔÚÍê³ÉÈÎÎñÖ®ºó£¬JAVAµÄÀ¬»ø»ØÊÕ»úÖÆ»á×Ô¶¯ÊÍ·ÅÕâЩ¶ÔÏóËùÕ¼ÓõĿռ䣬ʹ»ØÊÕµÄÄÚ´æÄܱ»ÔÙ´ÎÀûÓã¬Ìá¸ß³ÌÐòµÄÔËÐÐЧÂÊ¡£À¬»ø»ØÊÕ²»½ö¿ÉÒÔÌá¸ßϵͳµÄ¿É¿¿ÐÔ¡¢Ê¹ÄÚ´æ¹ÜÀíÓëÀà½Ó¿ÚÉè¼Æ·ÖÀ룬»¹¿ÉÒÔʹ¿ª·¢Õß¼õÉÙÁ˸ú×ÙÄÚ´æ¹ÜÀí´íÎóµÄʱ¼ä£¬´Ó¶ø°Ñ³ÌÐòÔ±´ÓÊÖ¹¤»ØÊÕÄÚ´æ¿Õ¼äµÄ·±Öع¤×÷ÖнâÍѳöÀ´¡£
JAVAÀ¬»ø»ØÊÕ»úÖÆÁíÒ»¸öÌصãÊÇ£¬½øÐÐÀ¬»ø»ØÊÕµÄÏß³ÌÊÇÒ»ÖÖµÍÓÅÏȼ¶µÄỊ̈߳¬ÔÚÒ»¸öJava³ÌÐòµÄÉúÃüÖÜÆÚÖУ¬ËüÖ»ÓÐÔÚÄÚ´æ¿ÕÏеÄʱºò²ÅÓлú»áÔËÐС£
ÏÂÃæ±¾ÎÄ´Ó“¶ÔÏóµÄʧȥÒýÓԺ͓¶ÔÏóÀ뿪×÷ÓÃÓò”ÕâÁ½¸ö·½Ãæ½øÐзÖÎö£¬Ì½ÌÖJAVA³ÌÐòÖеĶÔÏóʲôʱºò¿ÉÒÔ±»µ±×÷À¬»øÀ´½øÐлØÊÕ¡£
¶þ¡¢¶ÔÏóµÄʧȥÒýÓÃ
ͨ¹ýÏÂÃæµÄÒ»¶ÎJAVA³ÌÐò£¨Àý1£©£¬ÎÒÃÇ¿ÉÒÔÌÖÂÛ³ÌÐòÖеĶÔÏóÊÇ·ñÒѾ­·ûºÏÀ¬»ø»ØÊÕµÄÌõ¼þ¡£Çë×¢Ò⣬ÎÒÃÇÖ»ÊÇÌÖÂÛij¸ö¶ÔÏóÊÇ·ñ·ûºÏ±»»ØÊÕµÄÌõ¼þ£¬Õâ²¢²»ÒâζןöÔÏ󽫱»Á¢¼´»ØÊÕ£¬¹ØÓÚÕâÒ»µã£¬±¾ÎĺóÃ滹½«½øÒ»²½ËµÃ÷¡£
    Àý1£º
1.       class Computer{ }
2.       public class GarbageCollector {
3.         Computer makeComputer() {
4.           Computer tempComputer = new Computer ();
5.           return tempComputer;
6.         }
7.         public static void main (String args[]) {
8.           GarbageCollector t = new GarbageCollector ();


Ïà¹ØÎĵµ£º

20¸ö·Ç³£ÓÐÓõÄJava³ÌÐòƬ¶Î [Java]

ÏÂÃæÊÇ20¸ö·Ç³£ÓÐÓõÄJava³ÌÐòƬ¶Î£¬Ï£ÍûÄܶÔÄãÓÐÓá£
1. ×Ö·û´®ÓÐÕûÐ͵ÄÏ໥ת»»
1
   
2
String a = String.valueOf(2);   //integer to numeric string  
3
int i = Integer.parseInt(a); //numeric string to an int 
2. ÏòÎļþĩβÌí¼ÓÄÚÈÝ
01
    ......

Java¹Ø¼ü×Ö½éÉÜÖ®final

×ܽá¹Ø¼ü×ÖfinalµÄÓ÷¨¡£
author: ZJ 07-3-16
Blog: [url]http://zhangjunhd.blog.51cto.com/[/url]
ÔÚJavaÖÐÉùÃ÷ÊôÐÔ¡¢·½·¨ºÍÀàʱ£¬¿ÉʹÓùؼü×ÖfinalÀ´ÐÞÊΡ£final±äÁ¿¼´Îª³£Á¿£¬Ö»Äܸ³ÖµÒ»´Î£»final·½·¨²»Äܱ»×ÓÀàÖØд£»finalÀ಻Äܱ»¼Ì³Ð¡£
1£®final³ÉÔ±
ÉùÃ÷ final ×Ö¶ÎÓÐÖúÓÚÓÅ»¯Æ÷×÷³ö¸üºÃµÄÓÅ»¯¾ö¶¨£¬ÒòΪÈç¹û ......

Java½âÊÍExcelÊý¾Ý£¨jxl.jar°üµÄʹÓã©

»ù±¾²Ù×÷
Ò»¡¢´´½¨Îļþ
ÄâÉú³ÉÒ»¸öÃûΪ“²âÊÔÊý¾Ý.xls”µÄExcelÎļþ£¬ÆäÖеÚÒ»¸ö¹¤×÷±í±»ÃüÃûΪ“µÚÒ»Ò³”£¬´óÖÂЧ¹ûÈçÏ£º
/*
* Created on Dec 30, 2007
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Cod ......

ÉîÈëjava·´Éä

·´ÉäµÄ»ùʯ——ClassÀà
Java³ÌÐòÖеĸ÷¸öJavaÀàÊôÓÚͬһÀàÊÂÎÃèÊöÕâÀàÊÂÎïµÄJavaÀàÃû¾ÍÊÇClass¡£±ÈÈ磺ÖÚ¶àµÄÈË¿ÉÒÔÓÃÒ»¸öPersonÀàÀ´±íʾ£¬¶øÕâ¸öÀà¾Í¿ÉÒÔÃèÊöÈ˵ÄÐÅÏ¢(ÐÕÃû¡¢ÄêÁä¡¢ÐÔ±ðµÈµÈ)£¬¶øÖÚ¶àµÄJavaÀà¾Í¿ÉÒÔÓÃClassÀ´±íʾ¡£
   Question£ºPersonÀà´ú±íÈË£¬ËüµÄʵÀý¶ÔÏó¿ÉÒÔÊÇÕÅÈý¡¢ÀîËÄ£¬ ......

JAVAÀà¼Ì³Ð¹ý³ÌÖÐÆä³ÉÔ±µÄһЩÎÊÌâ

¹¹Ô캯Êý²»Äܼ̳С£×ÓÀàµÄ¹¹Ô캯Êý¿ÉÒÔͨ¹ýsuper¹Ø¼ü×ÖÏÔʽµ÷Óø¸ÀàÖеĹ¹Ô캯Êý¡£Èç¹û×ÓÀàÖеĹ¹Ô캯ÊýûÓÐÏÔʽµ÷Óø¸ÀàÖеĹ¹Ô캯Êý£¬±àÒëÆ÷¾Í»á×Ô¶¯ÔÚ×ÓÀàµÄ¹¹Ô캯ÊýÖе÷Óø¸ÀàÖвÎÊýΪ¿ÕµÄ¹¹Ô캯Êý¡£ÓÚÊÇ£¬µ±¸¸ÀàÖÐûÓвÎÊýΪ¿ÕµÄ¹¹Ô캯Êý£¬¶ø×ÓÀàÖÐÓÖûÓÐÏÔʾµ÷Óø¸ÀàµÄÆäËû¹¹Ô캯Êý£¬±àÒëʱ¾Í»á±¨´í¡£ÕâÒ»µãÐèÒªÌرð× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ