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

JAVA²¢·¢±à³Ìʵ¼ù

×î½ü¶ÁÍê<Java²¢·¢±à³Ìʵ¼ù>,ÎÞÒÉÕâÊÇÒ»±¾ºÃÊé,ËüʹµÃÎÒ¶ÔÏß³Ì,Ëø,ÒÔ¼°Óë²¢·¢Ïà¹ØµÄ
һЩ֪ʶÌåϵ¸ü¼ÓÍ걸,Ïл°²»¶à˵,ÏÂÃæÎÒϵͳÊáÀíÁËÏÂÀïÃæµÄһЩÀíÂÛÒªµã,ÏàÐÅʵ¼ùÉÏ
Ãæ,´ó¼Ò»ò¶à»òÉÙ¶¼»áÓÐÌå»á,ÄÇôÓÃÀíÂÛµÄ֪ʶµã½«Êµ¼ùÌå»áÁýÂçÆðÀ´,½«»áÐγɸü¼ÓÀιÌ
ºÍÍ걸µÄ֪ʶÌåϵ,ÖÁÉÙÎÒÕâôÈÏΪ,дÕâһƪ±Ê¼ÇÒ²ÊÇÓÃÒÔÒÔºówen¹Ê(ÒòΪ'ÎÂ'×ÖÊǺÍг×Ö
,²»Òæ¶à½²)
Ò» Ḭ̈߳²È«µÄ¸ÅÄî
    ÔÚ¶àÏ̵߳ijÌÐòÖÐ,¹²Ïí¶ÔÏó(¹²ÏíÐÅÏ¢)»á±»¶à¸öÏß³ÌÒÔ²»¿ÉÔ¤ÖªµÄ·½Ê½·ÃÎÊ,ÕâЩÏß³Ì
ÓеĻáÐ޸Ĺ²Ïí¶ÔÏóµÄһЩÐÅÏ¢,ÓеĻá¶ÁһЩÐÅÏ¢,Èç¹ûÎÒÃDz»¼ÓÒÔ¿ØÖÆ,ÄÇôÏ̵߳ÄËùÓÐ
ÔÚÕâ¸ö¹²Ïí¶ÔÏóÉϵÄÐÐΪ½«¶¼²»¿ÉÐÅ,
    ±ÈÈçÏß³ÌAÐÞ¸ÄÁ˹²Ïí¶ÔÏóO,ÏÂÒ»²½×¼±¸±£´æÊý¾Ý,µ«ÔÚ±£´æ֮ǰ,²Ù×÷ϵͳµ÷ÓÃÁËÏß³ÌB
µÄÖ¸Áî½øÐÐÖ´ÐÐ(ÕâÖÖÇé¿ö³öÏֵĻúÂÊÏ൱´óµÄ,ÒòΪ±£´æÊý¾Ý¿ÉÄÜÉæ¼°IOÃܼ¯ÐͲÙ×÷,ÔÚ½øÐÐ
IO×¼±¸µÄ¼ä϶,CPUÖÜÆÚÊÇ¿ÕÏеÄ,µ«²Ù×÷ϵͳ²»»áÈÃCPUÏÐ×Å,»á·ÖÅä¸øBµÄÖ¸Áî,½á¹ûBÓÖÐÞ
¸ÄÁËO,ÄÇôÏß³ÌA½«B¸Ä¹ýµÄ½á¹û±£´æÁË,»¹ÒÔΪÊÇ×Ô¼º¸Ä¹ýµÄ½á¹û--Èç¹ûÀà±ÈÓÚÊý¾Ý¿âÖеÄ
¸ÅÄîÕâ¾ÍÊÇ"д¸²¸Ç",ÀàËƵÄ"Ôà¶Á","»Ã¶Á"ʲôµÄ¶¼ÊDz¶à,ÒòΪÎÞÂÛÊdzÌÐò»¹ÊÇÊý¾Ý¿âÖÐ
ËøµÄ¸ÅÄîºÍÓÃ;¶¼ÊÇÒ»ÑùµÄ.
¶þ Ḭ̈߳²È«µÄ»ù±¾Ô­Ôò
     ÄÇôҪ±àдḬ̈߳²È«µÄ¶ÔÏóÐèÒª×öЩʲô,»òÕß˵×ñѭʲô»ù±¾Ô­ÔòÄØ?
     Ò»¸öḬ̈߳²È«µÄ¶ÔÏóÐèÒª±£Ö¤ÒÔÏÂÁ½¸öÔ­Ôò:
     Ò»),¶ÔÏóÊôÐԵĿɼûÐÔ
    "¿É¼ûÐÔ"ÊÇÖ¸Ïß³ÌBÄܸÐÖªA¶ÔOµÄÐÞ¸Ä,ÒòΪÔÚÉÏÊöÀý×ÓÖÐ,¿ÉÄÜBÐèÒª½«OÄÃÀ´Óëij¾ÉÖµ
±È½Ï,Èç¹ûÒ»ÖÂ,¾ÍÐÞ¸Ä,·ñÔò²»×÷ÐÞ¸Ä,È»¶øÔÚBµÃÈ¡OÖµºó,AÁ¢¼´ÓÖ¶ÔO½øÐÐÁËÐÞ¸Ä,ÕâʱBÊÇ
ÎÞ·¨ÖªµÀÊÖÉϵÄOÊǹýÆÚÊý¾ÝµÄ,ËùÒԲŻᷢÉú"д¸²¸Ç"ÕâÑùµÄ±­¾ß,²»È»BÖªµÀÁËAÒѾ­ÐÞ¸ÄÁË
O,ÄÇôB¿ÉÄÜʲôҲ²»×ö,AËæºóµÄ±£´æ²Ù×÷Ò²ÊÇÒ»ÖµÄ.
    ¶þ),¶ÔÏó״̬µÄÔ¼ÊøÐÔ
    ¶ÔÏó״̬ÊÇÓɶà¸ö(¿ÉÒÔÊÇÒ»¸ö)¶ÔÏóÊôÐÔ±í´ïµÄ,"Ô¼ÊøÐÔ"ÒªÇó¶ÔÏó´¦ÓÚÈκÎ״̬±ØÐëÊÇ
ÓÐЧµÄ,ºÏ·¨µÄ,¾Ù¸öÀý×ÓÀ´Ëµ:Ò»¸öListÓÐÒ»¸ösizeÊôÐÔ,ÓÐÒ»¸ö±£´æÊý¾ÝµÄÊý×é, ÄÇôÔÚÔö¼Ó
Ò»¸öÔªËØʱ,Ó¦¸Ã½«ÔªËØ·ÅÈëÊý×é,È»ºósize++,µ«ÊÇÓÉÓÚÕâÊÇÁ½¸ö²Ù×÷,Öмä±Ø¶¨´æÔÚ²»Ò»ÖÂ
µÄʱ¿Ì,µ«ÕâÖÖÇé¿öÊÇÎÞ·¨±ÜÃâµÄ,µ«¿ÉÒÔͨ¹ý¼ÓËøµÈÊֶα£Ö¤¸Ã²Ù×÷µÄÔ­×ÓÐÔ.
    ¿É¼û,"¿É¼ûÐÔ"ÊǶԵ¥¸öÊôÐÔµÄÒªÇó,"Ô¼ÊøÐÔ"ÔòÊ


Ïà¹ØÎĵµ£º

javaÃæÊÔ


Ò»¡¢Java²¿·Ö£¨¹²40·Ö£©
1¡¢ ËµËµOverloadºÍOverrideµÄÇø±ð¡£OverloadedµÄ·½·¨ÊÇ·ñ¿ÉÒԸı䷵»ØÖµµÄÀàÐÍ£¿£¨5·Ö£©
OverloadÊǸ²¸Ç£¬×ÓÀàµÄ·½·¨¸ú¸¸Àà·½·¨Ãû×ÖÒ»Ñù£¬×ÓÀàµÄ·½·¨°Ñ¸¸ÀàµÄ¸²¸ÇÁË¡£ 
OverrideÊÇÖØÔØ£¬²»Í¬µÄ·½·¨²ÎÊý¡¢·µ»ØÖµ²»Ò»Ñù£¬½ô½ô·µ»ØÖµ²»Ò»ÑùµÄÁ½¸öº¯Êý²»½ÐÖØÔØ£¬±àÒë²»»áͨ¹ýµÄ¡£
Over ......

ÀûÓÃjavaÄÚ´æÓ³ÉäÎļþ»úÖÆʵÏÖCRCÑ­»·ÈßÓàУÑé

import java.nio.MappedByteBuffer;   
import java.nio.channels.FileChannel;   
import java.util.zip.CRC32;   
public static void main(String[] args){   
        & ......

ÈçºÎÔÚOracleÖÐʹÓÃJava´æ´¢¹ý³Ì (Ïê½â)

Æäʵ£¬Õâƪ¶ÌÎÄ£¬ÎÒÔç¾ÍÓ¦¸ÃдÁË¡£ÒòΪ£¬java´æ´¢¹ý³Ì½ñºóÔÚ¸÷´óÊý¾Ý¿â³§ÉÌÖÐÔ½À´Ô½Á÷ÐУ¬¹¦ÄÜÒ²Ô½À´Ô½Ç¿´ó¡£ÕâÀïÒÔOracleΪÀý£¬½éÉÜÒ»ÏÂjava´æ´¢¹ý³ÌµÄ¾ßÌåÓ÷¨¡£
Ò»¡¢ÈçºÎ´´½¨java´æ´¢¹ý³Ì£¿
ͨ³£ÓÐÈýÖÖ·½·¨À´´´½¨java´æ´¢¹ý³Ì¡£
1. ʹÓÃoracleµÄsqlÓï¾äÀ´´´½¨£º
e.g. ʹÓÃcreate or replace and compile java source ......

Java»ù´¡¡¢Java WebÎÊ´ð

1.       String¡¢StringBuffer¡¢StringBuilderµÄÇø±ð
String²»±ä¶ÔÏó£¬StringBuffer¿É±ä×Ö·û´®£¬·½·¨Îªsynchronized£¬StringBuilder¿É±ä×Ö·û´®£¬·½·¨·Çsynchronized
 
2.       finally¡¢final¡¢finalizeµÄÇø±ð
finallyÔÚtry-cache-finallyÖÐʹÓã» ......

Java AnnotationÊÖ²á

Ô­ÎÄ:http://www.matrix.org.cn/resource/article/44/44055_Java+Annotation+Reflect.html
¹Ø
¼ü×Ö:java,annotation,reflect
Ç°ÑÔ£º
ÔÚ
ÉÏƪÎÄÕ¡¶Java AnnotationÈëÃÅ¡·
ÖиÅÒªÐԵĽéÉÜÁËAnnotationµÄ¶¨Ò塢ʹÓ㬷¶Î§º­¸Ç½Ï¹ã£¬µ«ÊÇ
Éî¶È²»¹»¡£ËùÒÔ×÷ÕßÔÚ¡¶Java AnnotationÈëÃÅ¡·ºó£¬¼ÌÐøÕûÀíÁËAnnotationµÄ¸ÅÄîºÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ