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

javaÄÚ²¿ÀàºÍÄäÃûÀà

ÌáÆðJavaÄÚ²¿ÀࣨInner Class£©¿ÉÄܺܶàÈ˲»Ì«ÊìϤ£¬Êµ¼ÊÉÏÀàËƵĸÅÄîÔÚC++ÀïÒ²ÓУ¬ÄǾÍÊÇǶÌ×ÀࣨNested Class£©£¬¹ØÓÚÕâÁ½ÕßµÄÇø±ðÓëÁªÏµ£¬ÔÚÏÂÎÄÖлáÓжԱȡ£ÄÚ²¿Àà´Ó±íÃæÉÏ¿´£¬¾ÍÊÇÔÚÀàÖÐÓÖ¶¨ÒåÁËÒ»¸öÀࣨÏÂÎĻῴµ½£¬ÄÚ²¿Àà¿ÉÒÔÔںܶàµØ·½¶¨Ò壩£¬¶øʵ¼ÊÉϲ¢Ã»ÓÐÄÇô¼òµ¥£¬Õ§¿´ÉÏÈ¥ÄÚ²¿ÀàËƺõÓÐЩ¶àÓ࣬ËüµÄÓô¦¶ÔÓÚ³õѧÕßÀ´Ëµ¿ÉÄܲ¢²»ÊÇÄÇôÏÔÖø£¬µ«ÊÇËæ×ŶÔËüµÄÉîÈëÁ˽⣬Äã»á·¢ÏÖJavaµÄÉè¼ÆÕßÔÚÄÚ²¿ÀàÉíÉϵÄÈ·ÊÇÓÃÐÄÁ¼¿à¡£Ñ§»áʹÓÃÄÚ²¿À࣬ÊÇÕÆÎÕJava¸ß¼¶±à³ÌµÄÒ»²¿·Ö£¬Ëü¿ÉÒÔÈÃÄã¸üÓÅÑŵØÉè¼ÆÄãµÄ³ÌÐò½á¹¹¡£ÏÂÃæ´ÓÒÔϼ¸¸ö·½ÃæÀ´½éÉÜ£º
µÚÒ»´Î¼ûÃæ
public interface Contents {
    int value();
}
public interface Destination {
    String readLabel();
}
public class Goods {
    private class Content implements Contents {
        private int i = 11;
        public int value() {
            return i;
          }
      }
    protected class GDestination implements Destination {
        private String label;
        private GDestination(String whereTo) {
            label = whereTo;
          }
        public String readLabel() {
            return label;
          }
      }
    public Destination dest(String s) {
        return new GDestination(s);
      }
    public Contents cont() {
        return new Content();
      }
}
class TestGoods {
 &n


Ïà¹ØÎĵµ£º

È«Ãæ·ÖÎöJavaµÄÀ¬»ø»ØÊÕ»úÖÆ

JavaµÄ¶ÑÊÇÒ»¸öÔËÐÐʱÊý¾ÝÇø£¬ÀàµÄʵÀý(¶ÔÏó)´ÓÖзÖÅä¿Õ¼ä¡£JavaÐéÄâ»ú(JVM)
µÄ¶ÑÖд¢´æ×ÅÕýÔÚÔËÐеÄÓ¦ÓóÌÐòËù½¨Á¢µÄËùÓжÔÏó£¬ÕâЩ¶ÔÏóͨ¹ýnew¡¢newarray¡¢anewarrayºÍmultianewarrayµÈÖ¸Á
Á¢£¬µ«ÊÇËüÃDz»ÐèÒª³ÌÐò´úÂëÀ´ÏÔʽµØÊÍ·Å¡£Ò»°ãÀ´Ëµ£¬¶ÑµÄÊÇÓÉÀ¬»ø»ØÊÕ
À´¸ºÔðµÄ£¬¾¡¹ÜJVM¹æ·¶²¢²»ÒªÇóÌØÊâµÄÀ¬»ø»ØÊÕ¼¼Êõ£ ......

Javaѧϰ±Ê¼Ç£¨1£©JavaÓïÑÔ¼ò½é


Java ÊÇÒÔÀࣨclass£©µÄÐÎʽÀ´×éÖ¯³ÌÐò£¬²¢ÇÒ»¹Ó²ÐԹ涨£¬ËùÓÐÀàµÄµÄ¸ù½Úµã¶¼ÊÇObjectÀ࣬ÆäÓàµÄ¶¼ÊÇÆä×ÓÀà¡£
Java½öÖ§³Öµ¥¼Ì³Ð£¬¼´Ò»¸öÀàÖ»ÄÜÓÐÒ»¸ö¸¸Àà¡£
Java²»µ¥ÊÇÒ»¸öÃæÏò¶ÔÏóµÄ±à³ÌÓïÑÔ£¬ ³ýÁËÖ§³Ö¶ÔÏóÊý¾ÝÀàÐÍÍ⣬»¹Ö§³ÖһЩ»ù´¡Êý¾ÝÀàÐÍ£¬ÈçÕûÐÍ¡¢ÊµÐÍ¡¢×Ö·ûÐͺͲ¼¶ûÀàÐ͵ȡ£
JavaÓïÑÔµÄÓ¦ÓóÌÐò±à³ ......

´«ÖDz¥¿ÍjavaÅàѵ2010Äê4ÔÂ15ÈÕJQuery×ܽá2

±±¾©µÄÌìÆøŶ£¡ÕæµÄºÜÏñÄǸöÎÒÒ²Íü¼ÇÁËÃû×ÖµÄÇ°±²ËµµÄÒ»¾ä»°——ÕâÌìŶ£¡¾ÍÏñÅ®º¢×ÓÒ»ÑùŶºöÀäºöÈȵġ£»¹Ïë˵ÊǶ¼ÊÇ£¬¶¼¼¸Ô·ÝÁË°¡£¬ÕæµÄÊǸоõ²»µ½°ëµã´ºÌìµÄÆøÏ¢¡£±ÈÎÒÔÚÖØÇìµÄ¶¬Ì컹ҪÁ¹£¬×òÌìÒ¹À¶³Ë¯Á˺öà´Î£¡
½ñÌì·Å¼Ù£¬AJAXµÄ¿Î³ÌÓÖ¸æÒ»¶ÎÂ䣬¼ÌSTRUTSºó£¬ÎÒÃÇÓÖѧÎÞÁËÓÖÒ»Ãſγ̣¬Ï²µÄÊÇ×ܵÄ×ÔÎҸоõ ......

java IOÊáÀí

JavaÓïÑÔµÄÊäÈëÊä³ö¹¦ÄÜÊÇÊ®·ÖÇ¿´ó¶øÁé»îµÄ£¬ÃÀÖв»×ãµÄÊÇ¿´ÉÏÈ¥ÊäÈëÊä³öµÄ´úÂë²¢²»ÊǺܼò½à£¬ÒòΪÄãÍùÍùÐèÒª°ü×°Ðí¶à²»Í¬µÄ¶ÔÏó¡£ÔÚJavaÀà¿âÖУ¬IO²¿·ÖµÄÄÚÈÝÊǺÜÅÓ´óµÄ£¬ÒòΪËüÉæ¼°µÄÁìÓòºÜ¹ã·º:±ê×¼ÊäÈëÊä³ö£¬ÎļþµÄ²Ù×÷£¬ÍøÂçÉϵÄÊý¾ÝÁ÷£¬×Ö·û´®Á÷£¬¶ÔÏóÁ÷£¬zipÎļþÁ÷....±¾ÎĵÄÄ¿µÄÊÇΪ´ó¼Ò×öÒ»¸ö¼òÒªµÄ½éÉÜ¡£ Á÷ÊÇÒ»¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ