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

ITÐÐҵؽÐè¸ü¶à¸ßËØÖÊJAVAÈí¼þ¹¤³Ìʦ

2009Äê1Ô£¬Ä³Èí¼þ¹«Ë¾Ò»ÔòÄêнʮÍòÕÐƸJAVA¸ß¼¶Èí¼þ¹¤³ÌʦµÄ¹ã¸æÎüÒýÁËÖÚ¶àýÌåºÍIT´ÓÒµÈËÔ±µÄÄ¿¹â£¬´ó¼ÒÖÃÒɵijýÁËÆľßÎüÒýÁ¦µÄÄêн֮Í⣬¸ü¶àµÄÊǶԸÃÆóÒµÔ¸ÒâƸÇë“ÓÐÄÜÁ¦µÄÓ¦½ì±ÏÒµÉú”¸Ðµ½À§»ó¡£ÔÚ´ó¶àÊýÆóÒµ¶¼Ç¿µ÷¹¤×÷¾­ÑéµÄʱºò£¬¸ÃÆóҵΪʲôԸÒâ¸ß¶îƸÇëÓ¦½ì±ÏÒµÉúÄØ£¿¸ÃÆóÒµ¸ºÔðÈ˵ÄÒ»¾ä¿´ËƼòµ¥µÄ“È˲ÅÄÑÇ󣡔»òÐíµÀÆÆÁ˸öÖÐÕæÚС£

¡¡¡¡¹©Çó½á¹¹²»ºÏÀí£¬ÈëÃÅÈÝÒ×Éú´æÄÑ

¡¡¡¡Ä¿Ç°ÎÒ¹úÈí¼þ²úÒµ·¢Õ¹ÔçÒÑÍ»ÆÆ×÷·»Ê±´ú£¬¿ª·¢·½Ê½ÒѾ­ÓÉÒÔÇ°Èí¼þ¿ª·¢µÄµ¥´ò¶À¶·Öð²½Éý¼¶Îª¹¤Òµ»¯¡¢Á÷Ë®ÏßʽµÄÉú²úģʽ£¬Ëæ×ÅÕû¸öÐÐÒµµÄ·¢Õ¹±ä»¯£¬Èí¼þ²úÒµÈ˲ŵÄÐèÇó½á¹¹Ò²·¢ÉúÁËÏàÓ¦µÄ±ä»¯£¬Èí¼þµ×²ã¼¼ÊõÈËÔ±µÄÅàÑøÒѾ­»ù±¾Äܹ»Âú×ãÕû¸öÐÐÒµµÄ·¢Õ¹ÐèÒª£¬ÈÕÇ÷±¥ºÍ£¬¶ø¹¤Òµ»¯Éú²úģʽϵÄÖи߼¶¼¼ÊõÈËÔ±ÔòÔ½À´Ô½½ôȱ£¬¾ß±¸Ò»¶¨¾­ÑéµÄÈí¼þÏîÄ¿¾­Àí¡¢ÏµÍ³¼Ü¹¹ÈËÔ±µÄÐèÇóÔ¶´óÓÚ¹©¸øµÄì¶Ü·Ç³£Í»³ö£¬ÔÙ¼ÓÉÏÅàѵ»ú¹¹´ó¶à»¹ÔÚÔ´Ô´²»¶ÏµØ½«³õ¼¶¼¼ÊõÈËÔ±ÊäÈëµ½ITÐÐÒµµ±ÖУ¬ºöÂÔÁËÈ˲ÅÅàÑøµÄ²ã´ÎÐÔÎÊÌ⣬µ¼ÖÂITÀ¶ÁìÈ˲ŶѻýÏÖÏóÑÏÖØ£¬³õ¼¶³ÌÐòԱн³êÒ»ÔÙ½µµÍ¡£ºÜ¶àÒ»ÄêÇ°»¹¶ÔITÐÐÒµ³ì³ùÂúÖ¾µÄÄêÇáÈË£¬²»µÃ²»Ñ¡Ôñ¸ü¸ß¶ËµÄÅàѵ£¬ÒÔÇó¸úÉÏÐÐÒµ·¢Õ¹µÄ½Å²½¡£

 JAVA¸ß¼¶Èí¼þ¹¤³Ìʦȱ¿Ú¾Þ´ó

¡¡¡¡¸úÆÕͨ³ÌÐòÔ±¹©´óÓÚÇóµÄÇé¿öÏà·´£¬ÆóÒµ¶ÔJAVA¸ß¼¶Èí¼þ¹¤³ÌʦµÄÐèÇóÔòÊÇÔ¶Ô¶²»ÄÜ»ñµÃÂú×ã¡£¸ù¾Ý2007ÄêITÐÐÒµ¾ÍÒµÇé¿öµ÷²éÀ´¿´£¬ÎÒ¹úÈí¼þÆóҵĿǰÔÚJAVA¸ß¼¶Èí¼þ¹¤³ÌʦÕâÀàְλÉϵÄÈËÔ±¿ÕȱÖÁÉÙÔÚ8ÍòÈË¡£ÑÏÖصĹ©Ð¡ÓÚÇóµÄÇé¿öʹµÃJAVA¸ß¼¶Èí¼þ¹¤³ÌʦµÄн³êË®ÕÇ´¬¸ß¡£¾Ý¶«·½±ê×¼¶Ô½üǧ¼ÒÆóÒµ»áÔ±µÄ¸Úλн³êͳ¼Æ£¬Ä¿Ç°ÓÐÒ»Ä깤×÷¾­ÑéµÄJAVA¸ß¼¶Èí¼þ¹¤³ÌʦµÄн³ê´óÖÂÔÚÄêн10£­13Íò×óÓÒ£¬¶øһЩ½ÓÊܹýÏà¹ØÅàѵµÄÓ¦½ì±ÏÒµÉúÒ²ÓÐÖÁÉÙ4000Ôª×óÓÒµÄÔÂн£¬Ã÷ÏÔ³¬¹ýÁ˽ñÄêÓ¦½ì±ÏÒµÉúÔÂн2500ÔªµÄƽ¾ùˮƽ¡£

¡¡¡¡“ÎÒÃÇͬѧµ±ÖÐÓкܶàÑ¡ÔñÁËÏÈÅàѵÔÙ¾ÍÒµ¡£”¾Í¶ÁÓÚ±±ÓʼÆËã»úѧԺµÄÁõÉÐÉиæËßÎÒÃÇ£¬´ÓѧУ±ÏÒµÖ»ÊÇÏ൱Óھ߱¸Á˳õ¼¶Èí¼þ¹¤³ÌʦµÄ»ù±¾ËØÖÊ£¬ÑϾþµÄ¾ÍÒµ»·¾³Ê¹ËûÃÇÏ£ÍûÄܹ»ÓµÓиüÇ¿µÄ¾ºÕùÁ¦ÔṲ̀ÈëÉç»á¡£

¡¡¡¡Ä¿Ç°ÈÎÖ°ÓڰٶȵÄÓÚС·Æ¸æËßÎÒÃÇ£¬ËýÖ®ËùÒÔÑ¡ÔñÔÙ½ÓÊÜJAVA¸ß¼¶Èí¼þ¹¤³ÌʦµÄÅàѵ£¬ÊÇ¿´ºÃÁËÕâ¸öÖ°ÒµµÄÇ°¾°£¬µ«¸ß¼¶È


Ïà¹ØÎĵµ£º

JAVA:ÓöàÏß³ÌʵÏÖʱ¼äµÄ¶¯Ì¬ÏÔʾ

import java.awt.*;
import javax.swing.*;
import java.util.Date;
import java.awt.*;
class Time extends JFrame implements Runnable{//ʵÏÖ½Ó¿Ú
Thread clockThread;
   JLabel jLabel=new JLabel();
   public Time()
   {
   Container con=this.getContentPane() ......

JAVA List to Array,Array to List

 1.Listת»»³ÉΪÊý×é¡££¨ÕâÀïµÄListÊÇʵÌåÊÇArrayList)
µ÷ÓÃArrayListµÄtoArray·½·¨¡£
Àý£ºString[] arr = (String[])list.toArray(new String[size]);
2.Êý×éת»»³ÉΪList¡£
µ÷ÓÃArraysµÄasList·½·¨¡£
Àý£ºList stooges = Arrays.asList("Larry", "Moe", "Curly"); ......

javaÉè¼Æģʽ

1¡¢FACTORY£¨¹¤³§Ä£Ê½£©
2¡¢BUILDER£¨½¨Ôìģʽ£©
3¡¢FACTORY METHOD£¨¹¤³§·½·¨Ä£Ê½£©
4¡¢PROTOTYPE£¨Ô­Ê¼Ä£ÐÍģʽ£©
5¡¢SINGLETON£¨µ¥Àýģʽ£©
6¡¢ADAPTER£¨ÊÊÅäÆ÷ģʽ£©
7¡¢BRIDGE£¨ÇÅÁºÄ£Ê½£©
8¡¢COMPOSITE£¨ºÏ³Éģʽ£©
9¡¢DECORATOR£¨×°ÊÎģʽ£©
10¡¢FACADE£¨ÃÅÃæģʽ£©
11¡¢FLYWEIGHT£¨ÏíԪģʽ£© ......

JavaÐéÄâ»ú ºÍ javaÐéÄâ»úϵĽø³Ì

Ò»¡¢Ê²Ã´ÊÇJavaÐéÄâ»ú
     µ±Äã̸µ½JavaÐéÄâ»úʱ£¬Äã¿ÉÄÜÊÇÖ¸£º
     1¡¢³éÏóµÄJavaÐéÄâ»ú¹æ·¶
     2¡¢Ò»¸ö¾ßÌåµÄJavaÐéÄâ»úʵÏÖ
     3¡¢Ò»¸öÔËÐеÄJavaÐéÄâ»úʵÀý
¶þ¡¢JavaÐéÄâ»úµÄÉúÃüÖÜÆÚ
     Ò»¸öÔËÐÐ ......

³£¼ûË㷨ѧϰ¼°ÆäJavaʵÏÖ

package org.bupt.test;
import java.util.ArrayList;
class MyResource {
    ArrayList<Integer> arrList= new ArrayList<Integer>();
    public MyResource(ArrayList<Integer> arrList) {
        this.arrList = arrList;
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ