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

Java×¢Ê͹淶[תÔØ]

×¢Ê͵ÄÔ­Ôò
1¡¢ ×¢ÊÍÐÎʽͳһ
ÔÚÕû¸öÓ¦ÓóÌÐòÖУ¬Ê¹ÓþßÓÐÒ»ÖµıêµãºÍ½á¹¹µÄÑùʽÀ´¹¹Ôì×¢ÊÍ¡£Èç¹ûÔÚÆäËûÏîÄ¿×é·¢ÏÖËûÃǵÄ×¢Ê͹淶ÓëÕâ·ÝÎĵµ²»Í¬£¬°´ÕÕËûÃǵĹ淶д´úÂ룬²»ÒªÊÔͼÔڼȳɵĹ淶ϵͳÖÐÒýÈëеĹ淶¡£
2¡¢ ×¢Ê͵ļò½à
ÄÚÈÝÒª¼òµ¥¡¢Ã÷ÁË¡¢º¬Òå׼ȷ£¬·ÀÖ¹×¢Ê͵ĶàÒåÐÔ£¬´íÎóµÄ×¢ÊͲ»µ«ÎÞÒæ·´¶øÓк¦¡£
3¡¢ ×¢Ê͵ÄÒ»ÖÂÐÔ
ÔÚд´úÂë֮ǰ»òÕß±ßд´úÂë±ßдעÊÍ£¬ÒòΪÒÔºóºÜ¿ÉÄÜûÓÐʱ¼äÀ´ÕâÑù×ö¡£ÁíÍ⣬Èç¹ûÓлú»á¸´²éÒѱàдµÄ´úÂ룬ÔÚ½ñÌì¿´À´ºÜÃ÷ÏԵĶ«Î÷ÁùÖÜÒÔºó»òÐí¾Í²»Ã÷ÏÔÁË¡£Í¨³£ÃèÊöÐÔ×¢ÊÍÏÈÓÚ´úÂë´´½¨£¬½âÊÍÐÔ×¢ÊÍÔÚ¿ª·¢¹ý³ÌÖд´½¨£¬ÌáʾÐÔ×¢ÊÍÔÚ´úÂëÍê³ÉÖ®ºó´´½¨¡£Ð޸ĴúÂëµÄͬʱÐÞ¸ÄÏàÓ¦µÄ×¢ÊÍ£¬ÒÔ±£Ö¤´úÂëÓë×¢Ê͵Äͬ²½¡£
4¡¢ ×¢Ê͵ÄλÖÃ
±£Ö¤×¢ÊÍÓëÆäÃèÊöµÄ´úÂëÏàÁÚ£¬¼´×¢Ê͵ľͽüÔ­Ôò¡£¶Ô´úÂëµÄ×¢ÊÍÓ¦·ÅÔÚÆäÉÏ·½ÏàÁÚ»òÓÒ·½µÄλÖ㬲»¿É·ÅÔÚÏ·½¡£±ÜÃâÔÚ´úÂëÐеÄĩβÌí¼Ó×¢ÊÍ£»ÐÐβעÊÍʹ´úÂë¸üÄÑÔĶÁ¡£²»¹ýÔÚÅú×¢±äÁ¿ÉùÃ÷ʱ£¬ÐÐβעÊÍÊǺÏÊʵģ»ÔÚÕâÖÖÇé¿öÏ£¬½«ËùÓÐÐÐβעÊÍÒª¶ÔÆë¡£
5¡¢ ×¢Ê͵ÄÊýÁ¿
×¢Êͱز»¿ÉÉÙ£¬µ«Ò²²»Ó¦¹ý¶à£¬ÔÚʵ¼ÊµÄ´úÂë¹æ·¶ÖУ¬ÒªÇó×¢ÊÍÕ¼³ÌÐò´úÂëµÄ±ÈÀý´ïµ½20%×óÓÒ¡£×¢ÊÍÊǶԴúÂëµÄ“Ìáʾ”£¬¶ø²»ÊÇÎĵµ£¬³ÌÐòÖеÄ×¢ÊͲ»¿ÉÐú±ö¶áÖ÷£¬×¢ÊÍÌ«¶àÁË»áÈÃÈËÑÛ»¨çÔÂÒ£¬×¢Ê͵Ļ¨ÑùÒªÉÙ¡£²»Òª±»¶¯µÄΪдעÊͶøдעÊÍ¡£
6¡¢É¾³ýÎÞÓÃ×¢ÊÍ
ÔÚ´úÂë½»¸¶»ò²¿Êð·¢²¼Ö®Ç°£¬±ØÐëɾµôÁÙʱµÄ»òÎ޹صÄ×¢ÊÍ£¬ÒÔ±ÜÃâÔÚÈÕºóµÄά»¤¹¤×÷ÖвúÉú»ìÂÒ¡£
7¡¢ ¸´ÔÓµÄ×¢ÊÍ
Èç¹ûÐèÒªÓÃ×¢ÊÍÀ´½âÊ͸´ÔӵĴúÂ룬Çë¼ì²é´Ë´úÂëÒÔÈ·¶¨ÊÇ·ñÓ¦¸ÃÖØдËü¡£¾¡Ò»ÇпÉÄܲ»×¢ÊÍÄÑÒÔÀí½âµÄ´úÂ룬¶øÓ¦¸ÃÖØдËü¡£¾¡¹ÜÒ»°ã²»Ó¦¸ÃΪÁËʹ´úÂë¸ü¼òµ¥±ãÓÚʹÓöøÎþÉüÐÔÄÜ£¬µ«±ØÐë±£³ÖÐÔÄܺͿÉά»¤ÐÔÖ®¼äµÄƽºâ¡£
8¡¢ ¶àÓàµÄ×¢ÊÍ
ÃèÊö³ÌÐò¹¦ÄܺͳÌÐò¸÷×é³É²¿·ÖÏ໥¹ØϵµÄ¸ß¼¶×¢ÊÍÊÇ×îÓÐÓõģ¬¶øÖðÐнâÊͳÌÐòÈçºÎ¹¤×÷µÄµÍ¼¶×¢ÊÍÔò²»ÀûÓÚ¶Á¡¢Ð´ºÍÐ޸ģ¬ÊDz»±ØÒªµÄ£¬Ò²ÊÇÄÑÒÔά»¤µÄ¡£±ÜÃâÿÐдúÂ붼ʹÓÃ×¢ÊÍ¡£Èç¹û´úÂë±¾À´¾ÍÊÇÇå³þ¡¢Ò»Ä¿ÁËÈ»µÄÔò²»¼Ó×¢ÊÍ£¬±ÜÃâ¶àÓàµÄ»ò²»Êʵ±µÄ×¢ÊͳöÏÖ¡£
9¡¢±Ø¼ÓµÄ×¢ÊÍ
µäÐÍËã·¨±ØÐëÓÐ×¢ÊÍ¡£ÔÚ´úÂë²»Ã÷Îú»ò²»¿ÉÒÆÖ²´¦±ØÐëÓÐ×¢ÊÍ¡£ÔÚ´úÂëÐ޸Ĵ¦¼ÓÉÏÐ޸ıêʶµÄ×¢ÊÍ¡£ÔÚÑ­»·ºÍÂß¼­·ÖÖ§×é³ÉµÄ´úÂëÖÐÌí¼Ó×¢ÊÍ¡£ÎªÁË·ÀÖ¹ÎÊÌâ·´¸´³öÏÖ£¬¶Ô´íÎóÐÞ¸´ºÍ½â¾ö·½·¨µÄ´úÂëʹÓÃ×¢ÊÍ£¬ÓÈÆäÊÇÔÚÍŶӻ·¾³ÖС£
10¡¢×¢ÊÍÔÚ±àÒë´úÂëʱ»á±»ºöÂÔ£¬²»±àÒëµ½×îºóµÄ¿ÉÖ´ÐÐÎļþÖУ¬ËùÒÔ×¢ÊͲ»


Ïà¹ØÎĵµ£º

javaÖеÄreflect»úÖÆ£¨×ª£©

Java
Reflection (JAVA·´Éä)    
Reflection ÊÇ Java
³ÌÐò¿ª·¢ÓïÑÔµÄÌØÕ÷Ö®Ò»£¬ËüÔÊÐíÔËÐÐÖÐµÄ Java
³ÌÐò¶Ô×ÔÉí½øÐмì²é£¬»òÕß˵“×ÔÉ󔣬²¢ÄÜÖ±½Ó²Ù×÷³ÌÐòµÄÄÚ²¿ÊôÐÔ¡£ÀýÈ磬ʹÓÃËüÄÜ»ñµÃ Java
ÀàÖи÷³ÉÔ±µÄÃû³Æ²¢ÏÔʾ³öÀ´¡£
Java
µÄÕâÒ»ÄÜÁ¦ÔÚʵ¼ÊÓ¦ÓÃÖÐÒ²ÐíÓõò»ÊǺܶ࣬µ« ......

ͨ¹ý DAOFactory µÄ·ºÐÍд·¨À´ÑÝʾJava·ºÐ͵ÄÌØÊâÓ÷¨

ͨ¹ý DAOFactory µÄ·ºÐÍд·¨À´ÑÝʾJava·ºÐ͵ÄÌØÊâÓ÷¨
СÐÍÏîÄ¿Öг£³£¶¼Ã»ÓÐÓÃÈý·½³Ö¾Ã»¯¿ò¼Ü£¬¶ø´ó¶¼ÊÇÓù«Ë¾»ò×ÔÐÐÒÀ¾ÝDAOģʽ·â×°µÄһЩ×é¼þÀ´Íê³ÉÊý¾Ý¿â³Ö¾Ã»¯¶¯×÷£¬²¢ÇÒ£¬Í¨³£ÎªÁ˸ü¾ß¿ÉÀ©Õ¹ÐÔ£¬³£³£Ê¹ÓóéÏ󹤳§Ä£Ê½À´½âñîºÏ¡£
Ò»¡¢ÏÈ¿´´úÂë
1¡¢¼òµ¥¹¤³§´úÂë
/************************************************* ......

»Ø»÷¡°JavaÒÑËÀ"´«ÑÔ JavaÒÀ¾ÉµØλÎȹÌ

±àÕß°´£ºÔçÔÚÉÏÊÀ¼Í90Äê´ú£¬¸÷ÖÖ¹ØÓÚJavaÒÑËÀµÄ¶ÏÑÔ¾ÍÒѾ­¿ªÊ¼³öÏÖ¡£Ê®¶àÄêÖ®ºóµÄ½ñÄ꣬ÕâÑùµÄÑÔÂÛÒÀÈ»²»¾øÓÚ¶ú¡£ÒԹؼü´Ê"java is dead"ÔÚGoogleÖÐËÑË÷£¬µÃµ½´óÔ¼199,000Ìõ½á¹û£¬Óɴ˿ɼû²»ÉÙÈËд¹ý»òÆÀÂÛ¹ýJavaµÄËÀÍö¡£Õë¶ÔÕâÃÅÒÑËÀÊ®¶àÄêµÄÓïÑÔ£¬×÷ÕßÔÚÎÄÖиÅÊöÁ˵±½ñJavaµÄµØλ¼°Æä·¢Õ¹Ç÷ÊÆ£¬ÓÐÁ¦µØ»Ø»÷ÁËÕâЩ´«ÑÔ¡£È«Î ......

java·´Éä

package reflect;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class Test {
 public static void main(String[] args) {
  try {
   Class c = Class.forName("reflect.Student");// ¸ù¾ÝÀàµÄÍêÕûÀàÃû´´½¨ÀàÏó
    ......

PowerDesigner OOM Éú³ÉjavaÀà(Ò») ת javapark

×î½üÔÚʹÓÃPowerDesignerÉè¼ÆÊý¾Ý¿â,Éè¼ÆÍêcdm ºÍ pdmʱ,Á˽⵽¿ÉÒÔÓÃoom×Ô¶¯Éú³ÉJavaÀà.
    µ«ÊÇÉú³ÉµÄJavaÀàµÄĬÈϸñʽºÍ×Ô¼ºµÄÒªÇóÓÐÆ«²î,×îÖյõ½ÁËЩ½â¾ö°ì·¨.ÕâÀï¼Ç¼ÁËÏÂ.(ÎÒʹÓõİ汾ÊÇPowerDesigner12)
    ÔÚoomÄ£ÐÍÖÐlanguage>edit current object language. ÀàµÄÖ÷¸ñʽÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ