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

Ò»¸öJava·´Éä»úÖÆÀý×Ó

package test;
import java.lang.reflect.Method;
public class InvokeTest {
  /**
   *
   * main ·½·¨
   * @param args
   * void
   */
  public static void main(String[] args) {
    try {
      InvokeTest invokeTest = new InvokeTest();
      //1.µÚÒ»²½»ñÈ¡·½·¨µÄÓ³Éä
      //String[] realArgs = {"",""};//¶¨ÒåÒ»¸öÓëexecute·½·¨µÚ1¸ö²ÎÊý¶ÔÓ¦µÄStringÊý×é(×¢Òâ´ËÊý×éֻΪ»ñÈ¡·½·¨µÄÓ³Éä)
      //Integer in = new Integer(0);//¶¨ÒåÒ»¸öÓëexecute·½·¨µÚ2¸ö²ÎÊý¶ÔÓ¦µÄInteger¶ÔÏó     
      //Class[] c_args = new Class[2];
      //c_args[0] = realArgs.getClass();//·Ö±ð»ñÈ¡ÒÔÉÏÁ½¸ö²ÎÊýµÄclass
      //c_args[1] = in.getClass();
      //Method method = invokeTest.getClass().getMethod("execute", c_args);//·µ»ØֵΪtest·½·¨µÄÓ³Éä(ÀàÐÍMethod)
      /**
       * ×¢Ò⣬ÒÔÉϼ¸¾ä(11-16ÐÐ)¿ÉÒÔд³ÉÏÂÃæÒ»¾ä
       * Ä¿µÄÊÇ»ñÈ¡execute·½·¨µÄÓ³Éä,µÚÒ»¸ö²ÎÊýÊÇ·½·¨,µÚ¶þ¸ö²ÎÊýÊÇexecute·½·¨ËùÐèÒªµÄ²ÎÊýÁбí,ÀàÐÍÊÇclass
       * ËùÒÔµ±execute·½·¨Ã»ÓвÎÊýʱ,getMethodµÚ¶þ¸ö²ÎÊýΪnull¼´¿É
       */
      Method method = invokeTest.getClass().getMethod("execute",
          new Class[] { String[].class, Integer.class });
     
      //2.µÚ¶þ²½µ÷Ó÷½·¨
      //String[] a1={"zhong","cheng"};//ÕâÀïµÄÊý×éÓÃÓÚ×öÕæÕýµ÷ÓÃʱµÄ²ÎÊý
      //Integer a2=new Integer(5);//ͬÉÏ
      //Object[] allArgs = new


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

javaÓ¦ÓÃÔ´ÂëºÃÍøÖ·

 StrutsME Ò»¸öÇáÁ¿¼¶µÄÐòÁл¯Ð­Ò飬ʹJ2ME¿Í»§¶ËÄܵ÷ÓÃStruts WebÓ¦ÓóÌÐò¡£
http://www.strutsme.org/
JsonME ÇáÁ¿¼¶ÊµÏÖJ2ME Json¡£
http://www.json.org/java/org.json.me.zip
MicroLog ÇáÁ¿¼¶µÄLOG
http://microlog.sourceforge.net/snapshot
Mobile Ajax for Java ME °üÀ¨ÁËXmlHttpRequest£¬jsonµÄÒ ......

´ÓJavaÓ¦ÓóÌÐò¶¯Ì¬Éú³ÉPDFÎļþ

 http://hi.baidu.com/skeryl/blog/item/d9b74e081e1d423ae92488ac.html
Èç¹ûÓ¦ÓóÌÐòÐèÒª¶¯Ì¬Éú³É PDF Îĵµ£¬ÔòÐèÒª iText ¿â¡£¿ª·ÅÔ´ÂëµÄ iText ¿âʹ PDF ÎĵµµÄ´´½¨Äܹ»ÔÚ˲¼äÍê³É¡£±¾ÎĽéÉÜÁË iText ²¢ÌṩÁËʹÓÃËü´Ó Java ? ¼¼ÊõÓ¦ÓóÌÐòÉú³É PDF ÎĵµµÄÓÉdzÈëÉîµÄÖ¸ÄÏ¡£ÎÒÃÇ´´½¨ÁËÒ»¸öʾÀýÓ¦ÓóÌÐòÒÔ¸üºÃµØÀí½â ......

java»ù±¾Êý¾ÝÀàÐÍÓëÆä·â×°Àà

 1   Boolean VS boolean
public final class Booleanextends [url=file:///G:/html_zh_CN/html/zh_CN/api/java/lang/Object.html]Object[/url]implements [url=file:///G:/html_zh_CN/html/zh_CN/api/java/io/Serializable.html]Serializable[/url], [url=file:///G:/html_zh_CN/html/zh_CN/api/java/lang ......

java ÄÚ´æÎÊÌâ

   ½ñÌìÔÚÍøÉÏ¿´µ½¹ØÓÚ¶ÔJAVAÄÚ´æµÄ½âÊÍ£¬¾õµÃдµÄ±È½ÏºÃ±ãÕª³­ÏÂÀ´¡£
    ÔÚJavaÖУ¬ÄÚ´æй©¾ÍÊÇ´æÔÚһЩ±»·ÖÅäµÄ¶ÔÏó£¬ÕâЩ¶ÔÏóÓÐÏÂÃæÁ½¸öÌص㣬Ê×ÏÈ£¬ÕâЩ¶ÔÏóÊÇ¿É´ïµÄ£¬¼´ÔÚÓÐÏòͼÖУ¬´æÔÚͨ
·¿ÉÒÔÓëÆäÏàÁ¬£»Æä´Î£¬ÕâЩ¶ÔÏóÊÇÎÞÓõģ¬¼´³ÌÐòÒÔºó²»»áÔÙʹÓÃÕâЩ¶ÔÏó¡£Èç¹û¶ÔÏóÂú×ãÕâÁ½¸öÌõ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ