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

Java´ò°ü³É¿ÉÖ´ÐÐÎļþ²½ÖèÏê½â

ºËÐÄ˼Ï룺°Ñº¬main·½·¨µÄÈë¿ÚÀàÌí¼Óµ½MANIFEST.MFÎļþÖС£
²½Ö裺
¼ÙÉèÓÐÁ½¸öÀàÎļþÒª´ò°ü£¬ËüÃÇ·Ö±ðÊôÓÚ²»Í¬µÄpackage¡£
package com.test.jar;   
import java.awt.*;   
import javax.swing.*;   
public class Jar extends JFrame   
{   
     public Jar()   
     {   
           Toolkit kit = Toolkit.getDefaultToolkit();   
           setIconImage(kit.getImage("img/ico.gif"));   
           setTitle("JarTest");   
           setSize(300, 200);   
           setVisible(true);   
           setDefaultCloseOperation(EXIT_ON_CLOSE);   
     }   
}   
///////
package com.test.jar;   
import java.awt.*;   
import javax.swing.*;   
public class Jar extends JFrame   
{   
     public Jar()   
     {   
           Toolkit kit = Toolkit.getDefaultToolkit();   
           setIconImage(kit.getImage("img/ico.gif"));   
           setTitle("JarTest");   
           setSize(300, 200);   
      &nb


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

Java NIO APIÏê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

ÓûìÏýÆ÷±£»¤ÄãµÄJAVA(.class)´úÂë(Ò»)

JAVA´úÂë±àÒëºóÊÇ.classÎļþ,ͨ¹ý·´±à¹¤¾ßºÜÈÝÒ×±»±ðÈË¿´µ½Ô´´úÂë
±£»¤JAVA´úÂëµÄ·½·¨ºÜ¶à£¬ÏÂÃæ½éÉÜÒ»ÖֱȽϷ½±ãʹÓõķ½·¨¡£
   obfuscate4eÊÇÒ»¿î²ÉÓûìÏýÆ÷¸Ä±äCLASSÎļþÄÚÈݵķ½·¨¡£
ÏÂÎĽ«½éÉܾßÌåºÍeclipseµÄÕûºÏ·½·¨
1.ÏÂÔØobfuscate4e,¼ÓÈëÕ¾µãhttp://obfuscate4e.org/updates/,Õâ¸öÈí¼þÊǵ¹úÈË¿ª· ......

java µ÷ÓÃdllÎļþ

//1.´´½¨testdll.javaÎļþ
public class testdll
{
static
{
System.loadLibrary("goodluck");
}
public native static int get();
public native static void set(int i);
public static void main(String[] args)
{
testdll test = new testdll();
test.set(10);
System.out.println(test.get() ......

JAVA·´Éä»úÖƼ°CLASS.FORNAMEµÄ×÷Óü°º¬Òå

Reflection ÊÇJava±»ÊÓΪ¶¯Ì¬£¨»ò×¼¶¯Ì¬£©ÓïÑÔµÄÒ»¸ö¹Ø¼üÐÔÖÊ¡£Õâ¸ö»úÖÆÔÊÐí³ÌÐòÔÚÔËÐÐʱ͸¹ýReflection APIsÈ¡µÃÈκÎÒ»¸öÒÑÖªÃû³ÆµÄclass
µÄÄÚ²¿ÐÅÏ¢£¬°üÀ¨Æämodifiers£¨ÖîÈçpublic, static µÈµÈ£©¡¢superclass£¨ÀýÈçObject£©¡¢ÊµÏÖÖ®interfaces£¨ÀýÈçCloneable£©£¬Ò²°üÀ¨fields
ºÍmethodsµÄËùÓÐÐÅÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ