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

JAVA·´Éä»úÖÆÈëÃÅ£¨Ò»£©

±¾ÎÄÕë¶Ôjdk6.0ÖÐjava.lang.ClassÀàµÄAPI½øÐÐÁ˼òµ¥µÄʵÀýÓ¦Óã¬Àý×Ó¼òµ¥Ò׶®£¬±È½ÏÊʺÏÈëÃż¶ÔĶÁ¡£
ʵÀý¼ò½é£º
/*
 *IncludeInnerClassÀàÖаüº¬ÁËÈýÖÖ·ÃÎÊ¿ØÖƵÄÄÚ²¿À࣬²¢ÇÒÒÔÕâÈý¸öÄÚ²¿ÀàµÄÒýÓöÔÏóºÍÒ»¸öÕûÐÍÊý×÷ΪÊôÐÔ£¬ÔÚÍⲿÀàµÄ·½·¨Öзֱðµ÷ÓÃÁË   ÄÚ²¿ÀàµÄ·½·¨
 *ÍⲿÀàÓÐÁ½¸ö¹¹Ôì·½·¨£¬Ò»¸öĬÈϹ¹Ôì·½·¨£¬Ò»¸ö´øÒ»¸öÕûÐͲÎÊýµÄ¹¹Ôì·½·¨
 *ClassÀàµÄAPI´ó¼Ò¿ÉÒÔÖ±½Ó²éÔÄjdkÊÖ²á
 *getMethods()ϵÁз½·¨»ù±¾ÓëgetConstructors()ϵÁз½·¨ÀàËÆ£¬½öÔÚºóÐòÎÄÕÂÖжÔgetMethods()ϵÁз½·¨µÄÒ»¸öÌØÀý×öÉîÈë½éÉÜ£¬½«Éæ¼°covariant return type ºÍbridge methods¡£
 */
package classTest;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
class IncludeInnerClass implements Runnable{
    class DefaultInnerClass{
        int i;
        public DefaultInnerClass(){}
        DefaultInnerClass(int i){
            this.i = i;
        }
        void innerMethod(){
            System.out.println("I am DefaultInnerClass.");
        }
    }
    private class PrivateInnerClass{
        int i;
        PrivateInnerClass(){}
        PrivateInnerClass(int i){
            this.i = i;
        }
        void innerMethod(){
            System.out.println("I am PrivateInnerClass.");
        }
    }
    public class PublicInnerClass{
     


Ïà¹ØÎĵµ£º

Java¶ÁÎļþдÎļþ²Ù×÷

  ÕâÀJavaµÄ¶ÁÎļþºÍдÎļþ¶¼ÊÇ»ùÓÚ×Ö·ûÁ÷µÄ£¬Ö÷ÒªÓõ½ÏÂÃæµÄ¼¸¸öÀࣺ
1¡¢FileReader----¶ÁÈ¡×Ö·ûÁ÷
2¡¢FileWriter----дÈë×Ö·ûÁ÷
3¡¢BufferedReader----»º³åÖ¸¶¨ÎļþµÄÊäÈë
¸ÃÀàµÄ·½·¨ÓУº
void close() 
        ¹Ø±Õ¸ÃÁ÷¡£
 void mark(int readAhead ......

WindowsMobileϵͳ¹ÜÀíjava²å¼þ

       WindowsMobileϵͳÎÞ·¨Ö±½Ó¹ÜÀíJAVA²å¼þ£¬ÐèÒª½èÖúJAVAÐéÄâ»úÀ´¹ÜÀíJAVA²å¼þ£¬WMƽ̨³£¼ûµÄJAVAÐéÄâ»úÓÐJbedºÍJblend¡£ÏÂÃæ¾ÍWMƽ̨¹ÜÀíJAVA²å¼þ×ö¼òÒª½éÉÜ¡£
1¡¢Jbed
Esmertec¹«Ë¾µÄ²úÆ·£¬ÍⲿÃüÁî¹ÜÀí·½Ê½Îª£º
°²×°£º\Windows\jbed.exe -DFile.maxStorageSize=64M -ginstall \" ......

java Ê÷½á¹¹´úÂë

 public class TreeNodes{
  IList<BranchInfo> branchs = BranchInfoManager.getAllBranchInfos();
  foreach(BranchInfo branch in branchs){
    TreeNode branchNode = new TreeNodeCreate(branch.BranchName,branch.BranchId.toString(),"","~/Images/menuclose.gif");
  ......

this ÓësuperÔÚjavaÖÐÔËÓÃÕûºÏ


 A.ʹÓùؼü×ÖthisµÄ×¼Ôò£º
1.ÔÚ¹¹ÔìÆ÷ÖУ¬Èç¹ûҪʹÓùؼü×Öthis,ÄÇô£¬±ØÐë·ÅÔÚµÚÒ»ÐУ¬·ñÔò½«µ¼ÖÂÒ»¸ö±àÒë´íÎó¡£
2.¹¹Ôì·½·¨ÒýÓÃthisÖ¸ÏòÕýÔÚÖ´Ðз½·¨µÄÀàµÄʵÀý¡£¾²Ì¬·½·¨²»ÄÜʹÓÃthis¹Ø¼ü×Ö£¬ÒòΪ¾²Ì¬·½·¨²»ÊôÓÚÀàµÄʵÀý£¬ËùÒÔthisÒ²¾ÍûÓÐʲô¶«Î÷È¥Ö¸Ïò¡£¹¹ÔìÆ÷µÄthisÖ¸Ïòͬһ¸öÀàÖУ¬²»Í¬²ÎÊýÁбíµÄÁíÍâÒ» ......

JAVAÊÓƵ

 ÍƼöÒ»¸ö¾ø¶Ô¾­µäµÄÊÓƵ£¬²»ºÃµÄÄÃשÅÄÎÒ°¡
ÎÞÒâÖÐÔÚÍøÉÏÏÂÔص½Ò»Ì×ÊÓƵ£¬ÒѾ­È«³ÌÌýÍ꣬¸Ð¾õ·Ç³£²»´í¡£´ÓJava»ù´¡¿ªÊ¼Ñ­Ðò½¥½ø£¬ÓÉdzÈëÉÊÓƵÖв»½ö¾«
±ÙµÄ½²½âÁËJava¿ª·¢µÄ֪ʶ£¬¶øÇÒÈÚÈëÁ˺ܶàѧϰ·½·¨µÄ½²½âºÍ±à³Ì˼ÏëµÄÒýµ¼£¬×ÛºÏÀ´Ëµ¿ÉÒÔÈË¿°³ÆÈëÃŵľ­µäÖ®
×÷!
ÌرðÍƼö¸ø´ó¼Ò£¬´ó¼Ò¹²Í¬½ø²½¡£°ÑÍøÖ·¸ø´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ