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

java¹¹Ô캯Êý

java¹¹Ô캯Êý
ÆäÓï·¨¸ñʽÈçÏ£º
   < modifiers>  <class_name>([< argu_list>]) {[< statements>]}
×Ô¶¨Òå¹¹Ôì·½·¨£º·½·¨ÃûÓëÀàͬÃû£¬Ê××Öĸ´óд£¡Ã»Óзµ»ØÀàÐÍ¡£³ý´ËÖ®ÍâÆäËû¶¼¸úÆÕͨ·½·¨Ò»Ñù¡£
ĬÈϹ¹Ô캯Êý£ºÃ»ÓÐÐβÎûÓз½·¨Ì壡È磺public Person() {}
¶ÁÏÂÃæµÄÀý×Ó£¬Ìå»á¹¹Ô캯ÊýµÄÓ÷¨£º
public class MyDate {
    private int day ;
    private int month ;
    private int year ;
    public Mydate(int d, int m, int y) {
   
     year = y;
   
        month = m;
   
        day = d;

}    

public void display() {

        System.out.println(year + " / " + month + " / " +day); 

}

public static void main(String[] args) {
             MyDate  m;

      m = new MyDate(22, 9, 2001);

      m.display();
    }   
}
Êä³ö½á¹û£º2001 / 9 / 22


Ïà¹ØÎĵµ£º

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ʹÓÃrocksawºÍvserv tcpipʵÏÖ»ùÓÚICMPµÄPing¹¦ÄÜ

Ò»£º×¼±¸ www.savarese.org download
 1.  rocksaw-1.0.0-src.tar.gz
 2.  vserv-tcpip-0.9.2-src.tar.gz
¶þ£º±àÒëÔ´ÎļþµÃµ½jar°ü ʹÓÃAnt
 1.  build vserv-tcpip-0.9.2-src
      ÔÚvserv-tcpip-0.9.2Ŀ¼ÏÂÃæ½¨Ò»¸ötestsĿ¼£¬È»ºóÔÚcmd´°¿ÚϽøÈë ......

JavaÖеÄÊó±êºÍ¼üÅÌʼþ


1¡¢Ê¹ÓÃMouseListener½è¿Ú´¦ÀíÊó±êʼþ
Êó±êʼþÓÐ5ÖÖ£º°´ÏÂÊó±ê¼ü£¬ÊÍ·ÅÊó±ê¼ü£¬µã»÷Êó±ê¼ü£¬Êó±ê½øÈëºÍÊó±êÍ˳ö
Êó±êʼþÀàÐÍÊÇMouseEvent£¬Ö÷Òª·½·¨ÓУº
getX(),getY() »ñÈ¡Êó±êλÖÃ
getModifiers() »ñÈ¡Êó±ê×ó¼ü»òÕßÓÒ¼ü
getClickCount() »ñÈ¡Êó±ê±»µã»÷µÄ´ÎÊý
getSource() »ñÈ¡Êó±ê·¢ÉúµÄʼþÔ´
ʼþÔ ......

java web¿ª·¢ÖÐµÄ md5¼ÓÃÜ ×ªÌû×ԹŵÀÎ÷·ç

MD5½éÉÜ£º
MD5µÄÈ«³ÆÊÇMessage-Digest Algorithm 5£¬ÔÚ90Äê´ú³õÓÉMITµÄ¼ÆËã»ú¿ÆÑ§ÊµÑéÊÒºÍRSA Data Security Inc·¢Ã÷£¬¾­MD2¡¢MD3ºÍMD4·¢Õ¹¶øÀ´¡£
Message-Digest·ºÖ¸×Ö½Ú´®(Message)µÄHash±ä»»£¬¾ÍÊǰÑÒ»¸öÈÎÒⳤ¶ÈµÄ×Ö½Ú´®±ä»»³ÉÒ»¶¨³¤µÄ´óÕûÊý¡£Çë×¢ÒâÎÒʹÓÃÁË“×Ö½Ú´®”¶ø²»ÊÇ“×Ö·û´®”Õâ¸ö´Ê£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ