Javaѧϰ
ÎÒÏÖÔÚÊÇÈí¼þѧԺ´ó¶þµÄѧÉú£¬ÎÒÃÇѧµÄ½Ì²ÄÊÇ¡¶JavaÓïÑÔ³ÌÐòÉè¼Æ¡·£¬ÏÖÔÚѧµÄÊǽø½×ƪ£¬¿ÉÊÇÎҸоõºÃÏñ»¹ÊÇʲô¶¼²»»á°¡£¡Èç¹ûÕæ¸øÎÒÒ»¸öÌâÄ¿ÈÃÎÒ×Ô¼ºÈ¥×ö£¬ÎÒÏëÎÒ»á×ö²»³öÀ´¡£²»¹ýÈç¹û¿´×ÅÊéȥʵÏÖÒ»¸ö¹¦ÄÜÎÒ»¹ÒªÏëºÜ¾Ã²Å»á×ö³öÀ´£¬Ò²ÐíÊÇÎÒѧϰ»¹²»¹ýÈÏÕ棬×Ô¼º¶¯ÊÖµÄÄÜÁ¦»¹Ã»ÓÐÑø³É£¬Ò²ÐíÊÇÎÒ´úÂë¿´µÃÌ«ÉÙ£¡ÎÒÏëÎÊһϸßÊÖÓÐûÓÐʲôѧJavaµÄºÃ·½·¨£¡ÎÒÖªµÀºÃ·½·¨ÊÇ×Ô¼ºÎò³öÀ´µÄ£¬¿ÉÎÒ»¹ÊÇÏëÌýÌý¸ßÊÖµÄÒâ¼û£¡£¡£¡
Ïà¹ØÎĵµ£º
1.FileÀàΪ¹ÜÀíÎļþºÍĿ¼ÌṩÁË·½·¨£¬Æä¶ÔÏó±íʾһ¸öÎļþ»òÕßĿ¼¡£ËüÌṩÁËÈô¸É·½·¨¶ÔÎļþ»òÎļþ¼Ð½øÐвÙ×÷¡£ÆäÖеÄlist()·½·¨ºÍlistFiles()·½·¨¿ÉÒÔÆ𵽶¨Î»Ìض¨ÎļþµÄ×÷Óá£
2.ObjectÀ࣬ÊÇËùÓÐJavaÀàµÄ×æÏÈ£¬ÈôÒ»¸öÀàÉùÃ÷ʱûÓаüº¬extends¹Ø¼ü×Ö£¬ÔòÆäÖ±½Ó¼Ì³ÐÓÚObjetcÀà¡£ÆäÖÐÓÐÐí¶àÖØÒª·½·¨£º
equals(),not ......
If the requested address is not a valid virtual memory address (it doesn't belong to any of
the memory segments of the executing process), the page cannot be validated, and
a segmentation fault is generated. This vectors control to another part of the kernel and
usually results in the pro ......
Ê×ÏÈÁ˽âÏÂËùνµÄjava nioÊǸöʲô¶«Î÷£¡
IOÊÇ¿¿×Ö·û»ò×Ö½Ú½øÐд«Ê䣬±È½ÏÂý£¡ ¶øNIOÊÇ¿¿¿é£¬ Ò²¾ÍÏ൱ÓÚÒ»¸öBuffer£¬ Ò»¿éÒ»¿é
µÄ´«Ê䣬 ËٶȽϿì
£¡ ͬʱ¼ÓÈëÁ˶àÏß³Ì
µÄ¿ØÖÆ£¬ Ò»¸öNIOÁ÷¿ÉÒÔͬʱ´«Êä¶à¸ö¿éµÈ£¬ Ò²¾ÍÊÇËùνµÄÒì²½´«Êä
£»
´«Í³
µÄ²¢·¢ÐÍ
·þÎñÆ÷Éè¼ÆÊÇÀûÓÃ×èÈûÐÍÍøÂçI/O
ÒÔ¶àÏ̵߳ÄÄ ......
java½Ó¿ÚʵÏÖ
¶Ô³õѧÕßÀ´Ëµ£¬½Ó¿Ú²»ÊǺܺÃÀí½â¡£ÏÖ½«Ä³¸ßÊÖµÄһƪÎÄÕÂÌù³öÀ´£¬¹²´ó¼Ò·ÖÏí£¡
ÎÒÃÇÀ´¿´Ò»¸öÀà
class A {
private int a;
public int getA() {
return a;
}
}
Õâ¸öÀàµÄÊôÐÔÊÇ˽Óеģ¬Íâ½ç²»ÄÜ·ÃÎÊ£¬¶øÍâ½ç¿ÉÒÔͨ¹ý¹«Óз½·¨À´·ÃÎÊÕâ¸öÀà¡£ÎÒÃÇ˵һ¸öÀàµÄ¹«Óз½
·¨¾ÍÊÇÕâ¸öÀàµÄ¶ÔÍâ½Ó¿Ú¡£Í¨³£
......
±¾ÎÄת×ÔCSDN ·½ÖÛ
¶ÔÓÚÐèÒª×Ô¼º±àд´úÂëÀ´´¦Àí XML ÎĵµµÄ¿ª·¢ÈËÔ±À´Ëµ£¬
Ñ¡Ôñ DOM »¹ÊÇ SAX ½âÎöÄ£ÐÍÊÇÒ»¸ö·Ç³£ÖØÒªµÄÉè¼Æ¾ö²ß¡£
¡¡¡¡DOM ²ÉÓý¨Á¢Ê÷ÐνṹµÄ·½Ê½·ÃÎÊ XML Îĵµ£¬¶ø SAX ²ÉÓõÄʼþÄ£ÐÍ¡£
¡¡¡¡DOM ½âÎöÆ÷°Ñ XML Îĵµ×ª»¯ÎªÒ»¸ö°üº¬ÆäÄÚÈݵÄÊ÷£¬²¢¿ÉÒÔ¶ÔÊ÷½øÐбéÀú¡£Óà DOM ½âÎöÄ£Ð͵ÄÓ ......