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

ÉîÈëÀí½âJavaÃæÏò¶ÔÏóµÄÈý´ó»ù±¾ÌØÐÔ


Ò»¡¢¼Ì³Ð
1.¸ÅÄһ¸öÀà¼Ì³ÐÁíÒ»¸öÀ࣬Ôò³Æ¼Ì³ÐµÄÀàΪ×ÓÀ࣬±»¼Ì³ÐµÄÀàΪ¸¸Àà¡£
2.Ä¿µÄ£ºÊµÏÖ´úÂëµÄ¸´Óá£
3.Àí½â£º×ÓÀàÓ븸ÀàµÄ¹Øϵ²¢²»ÊÇÈÕ³£Éú»îÖеĸ¸×Ó¹Øϵ£¬×ÓÀàÓ븸Àà¶øÊÇÒ»ÖÖÌØÊ⻯ÓëÒ»°ã»¯µÄ¹Øϵ£¬ÊÇis-aµÄ¹Øϵ£¬×ÓÀàÊǸ¸Àà¸ü¼ÓÏêϸµÄ·ÖÀà¡£Èçclass dog extends animal,¾Í¿ÉÒÔÀí½âΪdog is a animal.×¢ÒâÉè¼Æ¼Ì³ÐµÄʱºò£¬ÈôÒªÈÃij¸öÀàÄܼ̳У¬¸¸ÀàÐèÊʵ±¿ª·Å·ÃÎÊȨÏÞ£¬×ñÑ­ÀïÊÏ´ú»»Ô­Ôò£¬¼´ÏòÐ޸ĹرնÔÀ©Õ¹¿ª·Å£¬Ò²¾ÍÊÇ¿ª-±ÕÔ­Ôò¡£
4.½á¹û£º¼Ì³Ðºó×ÓÀà×Ô¶¯ÓµÓÐÁ˸¸ÀàµÄÊôÐԺͷ½·¨£¬µ«Ìرð×¢ÒâµÄÊÇ£¬¸¸ÀàµÄ˽ÓÐÊôÐԺ͹¹Ôì·½·¨²¢²»Äܱ»¼Ì³Ð¡£
ÁíÍâ×ÓÀà¿ÉÒÔд×Ô¼ºÌØÓеÄÊôÐԺͷ½·¨£¬Ä¿µÄÊÇʵÏÖ¹¦ÄܵÄÀ©Õ¹£¬×ÓÀàÒ²¿ÉÒÔ¸´Ð´¸¸ÀàµÄ·½·¨¼´·½·¨µÄÖØд¡£
¶þ¡¢·Ö×°
1.¸ÅÄ·â×°Ò²³ÆΪÐÅÏ¢Òþ²Ø£¬ÊÇÖ¸ÀûÓóéÏóÊý¾ÝÀàÐͽ«Êý¾ÝºÍ»ùÓÚÊý¾ÝµÄ²Ù×÷·â×°ÔÚÒ»Æð£¬Ê¹Æä¹¹³ÉÒ»¸ö²»¿É·Ö¸îµÄ¶ÀÁ¢ÊµÌ壬Êý¾Ý±»±£»¤ÔÚ³éÏóÊý¾ÝÀàÐ͵ÄÄÚ²¿£¬¾¡¿ÉÄܵØÒþ²ØÄÚ²¿µÄϸ½Ú£¬Ö»
±£ÁôһЩ¶ÔÍâ½Ó¿Úʹ֮ÓëÍⲿ·¢ÉúÁªÏµ¡£ÏµÍ³µÄÆäËû²¿·ÖÖ»ÓÐͨ¹ý°ü¹üÔÚÊý¾ÝÍâÃæµÄ±»ÊÚȨµÄ²Ù×÷À´ÓëÕâ¸ö³éÏóÊý¾ÝÀàÐͽ»Á÷Óë½»»¥¡£Ò²¾ÍÊÇ˵£¬Óû§ÎÞÐèÖªµÀ¶ÔÏóÄÚ²¿·½·¨µÄʵÏÖϸ½Ú£¬µ«¿ÉÒÔ¸ù¾Ý¶ÔÏóÌṩµÄÍⲿ½Ó¿Ú(¶ÔÏóÃûºÍ²ÎÊý)·ÃÎʸöÔÏó¡£
2.ºÃ´¦£º(1)ʵÏÖÁËרҵµÄ·Ö¹¤¡£½«ÄÜʵÏÖijһÌض¨¹¦ÄܵĴúÂë·â×°³ÉÒ»¸ö¶ÀÁ¢µÄʵÌåºó£¬¸÷³ÌÐòÔ±¿ÉÒÔÔÚÐèÒªµÄʱºòµ÷Ó㬴ӶøʵÏÖÁËרҵµÄ·Ö¹¤¡£(2)Òþ²ØÐÅÏ¢£¬ÊµÏÖϸ½Ú¡£Í¨¹ý¿ØÖÆ·ÃÎÊȨÏÞ¿ÉÒÔ½«¿ÉÒÔ½«²»ÏëÈÿͻ§¶Ë³ÌÐòÔ±¿´µ½µÄÐÅÏ¢Òþ²ØÆðÀ´£¬Èçij¿Í»§µÄÒøÐеÄÃÜÂëÐèÒª±£ÃÜ£¬Ö»ÄܶԸÿͻ§¿ª·¢È¨ÏÞ¡£
Èý¡¢¶à̬
1.¸ÅÄÏàͬµÄÊÂÎµ÷ÓÃÆäÏàͬµÄ·½·¨£¬²ÎÊýÒ²Ïàͬʱ£¬µ«±íÏÖµÄÐÐΪȴ²»Í¬¡£
2.Àí½â£º×ÓÀàÒÔ¸¸ÀàµÄÉí·Ý³öÏÖ£¬µ«×öÊÂÇéʱ»¹ÊÇÒÔ×Ô¼ºµÄ·½·¨ÊµÏÖ¡£×ÓÀàÒÔ¸¸ÀàµÄÉí·Ý³öÏÖÐèÒªÏòÉÏתÐÍ(upcast)£¬ÆäÖÐÏòÉÏתÐÍÊÇÓÉJVM×Ô¶¯ÊµÏֵģ¬ÊÇ°²È«µÄ£¬µ«ÏòÏÂתÐÍ(downcast)ÊDz»°²È«µÄ£¬ÐèҪǿÖÆת»»¡£×ÓÀàÒÔ¸¸ÀàµÄÉí·Ý³öÏÖʱ×Ô¼ºÌØÓеÄÊôÐԺͷ½·¨½«²»ÄÜʹÓá£
3.Óü̳ÐÉè¼Æ
class Actor{
    public void act(Actor actor){
      System.out.println("±íÑÝ");
    }
}
class SingActor extends Actor{
    public void act(){
      System.out.println("³ª¸è¡¶ÖйúÈË¡·");
    }
}
class MoiveActor extends Actor{
  


Ïà¹ØÎĵµ£º

Ï£¶ûÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*Ï£¶ûÅÅÐò£¬ÒªÇó´ýÅÅÐòµÄÊý×é±ØÐëʵÏÖComparable½Ó¿Ú
*/
public class ShellSort implements SortStrategy
{
       private int[] increment;
       /**
       *ÀûÓÃÏ£¶ûÅÅÐòËã·¨¶ÔÊý×éob ......

¹é²¢ÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*¹é²¢ÅÅÐò£¬ÒªÇó´ýÅÅÐòµÄÊý×é±ØÐëʵÏÖComparable½Ó¿Ú
*/
public class MergeSort implements SortStrategy
{
       private Comparable[] bridge;
       /**
       *ÀûÓù鲢ÅÅÐòË ......

ðÅÝÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*ÀûÓÃðÅÝÅÅÐò·¨¶ÔÊý×éÅÅÐò£¬Êý×éÖÐÔªËرØÐëʵÏÖÁËComparable½Ó¿Ú¡£
*/
public class BubbleSort implements SortStrategy
{
       /**
       *¶ÔÊý×éobjÖеÄÔªËØÒÔðÅÝÅÅÐòËã·¨½øÐÐÅÅÐò
     ......

JAVA±à³Ìѧϰ·½·¨·ÖÏí Àϼ¼ÊõÈËÔ±µÄ¾­Ñé̸֮

ÎÒÊÇ2000Äê´óѧ±ÏÒµ,ÔÚѧУѧµÄÊǾ­¼Ãרҵ,±ÏÒµºó×öJAVAÈí¼þ¿ª·¢.  
 
ÏàÐźܶà×ö¼¼ÊõµÄÅóÓѶ¼ÊÇ´ÓÆäËûÐÐҵת¹ýÀ´µÄ
ew roman';">,ѧϰ±à³ÌµÄ¹ý³ÌºÍ¾­Ñé¸÷²»Ò»Ñù,ÎÒ½«×Ô¼ºµÄ´ÓÒµ¾­ÀúдÁ˳öÀ´,Çë¼û:  
 
http://www.jobhotel.com.cn/yourbay/news-2.jsp?id=15353  
  ......

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ
1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢nati ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ