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

java Éî¿ÌÀí½â ²»¶Ï¸üÐÂ

1¡¢javaÊÇ¿çƽ̨µÄ£¬ÊÇһÎâÊÍÐÔÓïÑÔ£¬Ò»ÌõÒ»ÌõµØÖ´ÐУ¬½âÊÍÆ÷¾ÍÊÇjvm£¬ËùÒÔ¿ÉÒÔ¿çƽ̨£»
    C/C++ÊDZàÒëÐÔÓïÑÔ£¬ËùÓбàÒëÍêºóÔÙÖ´ÐУ¬¿çƽ̨µÄʱºòÐèÒªÖØбàÒëÒ»´Î£¬ÒÔÊÊӦеÄƽ̨¡£
2¡¢ÏòÉÏתÐÍ£¬¼Ì³Ð  °×Âí·ÇÂí 
 ¸¸Àà¶ÔÏóת»¯Îª×ÓÀà±ØÐëÇ¿ÖÆ(SonClass)fatherClass
 ×ÓÀ൱Ϊ¸¸Àà ×Ô¶¯  func(FatherClass c) --¡µ  func(sonClass)


Ïà¹ØÎĵµ£º

java¶ÁÈ¡xmlÎļþ

import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Iterator;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
public class ReadSetting {
......

JavaÄÚ²¿ÀࣨInner Class£©Ïê½â

¼òµ¥µÄ˵£¬ÄÚ²¿£¨inner£©ÀàÖ¸ÄÇЩÀඨÒå´úÂë±»ÖÃÓÚÆäËüÀඨÒåÖеÄÀࣻ¶ø¶ÔÓÚÒ»°ãµÄ¡¢ÀඨÒå´úÂ벻ǶÌ×ÔÚÆäËüÀඨÒåÖеÄÀ࣬³ÆΪ¶¥²ã£¨top-level£©Àà¡£¶ÔÓÚÒ»¸öÄÚ²¿À࣬°üº¬Æ䶨Òå´úÂëµÄÀà³ÆΪËüµÄÍⲿ£¨outer£©Àà¡£
1          Static member class£¨¾²Ì¬³ÉÔ±Àࣩ
ÀàÉùÃ÷ÖÐ ......

JAVA ComparatorºÍComparableÔÚÅÅÐòÖеÄÓ¦ÓÃ

ComparatorºÍComparableÔÚÅÅÐòÖеÄÓ¦ÓÃ
µ±ÐèÒªÅÅÐòµÄ¼¯ºÏ»òÊý×é²»Êǵ¥´¿µÄÊý×ÖÐÍʱ£¬Í¨³£¿ÉÒÔʹÓÃComparator»òComparable£¬ÒÔ¼òµ¥µÄ·½Ê½ÊµÏÖ¶ÔÏóÅÅÐò»ò×Ô¶¨ÒåÅÅÐò¡£
Ò»¡¢Comparator
Ç¿ÐжÔij¸ö¶ÔÏócollection½øÐÐÕûÌåÅÅÐòµÄ±È½Ïº¯Êý£¬¿ÉÒÔ½«Comparator´«µÝ¸øCollections.sort»òArrays.sort¡£
½Ó¿Ú·½·¨£º
   ......

Java SE 6¸üУ¬ÐÔÄÜ´ó·ùÌáÉý

2010-01-16 06:51
¾ÝInternetNews.com±¨µÀ
£¬×÷Ϊ½ñÄêµÄµÚÒ»´Î¸üУ¬Java SE 6 Update 18£¨Ò²³ÆΪ6u18£©²»½öÐÞ¸´Á˳¬¹ý300¸öbug£¨¹»¶àµÄ°¡£©£¬¶øÇÒ¸üÖµµÃ×¢ÒâµÄÊÇ£¬ÌáÉýÁËÐéÄâ»úHotSpotµÄÐÔÄÜ£¬Õ⽫ͬʱÓÐÒæÓÚJavaºÍJavaFX£¨»ùÓÚJVMµÄRIA·½°¸£©Ó¦ÓóÌÐò¡£
´ËÍ⣬Java°²×°Æ÷µÄµ×²ã»úÖƱ»Ìæ»»£¬¿ÉÓÃÐÔ´ó´óÌá¸ß¡£
jarÎļþ´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ