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

¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç18

 1.FileÀàΪ¹ÜÀíÎļþºÍĿ¼ÌṩÁË·½·¨£¬Æä¶ÔÏó±íʾһ¸öÎļþ»òÕßĿ¼¡£ËüÌṩÁËÈô¸É·½·¨¶ÔÎļþ»òÎļþ¼Ð½øÐвÙ×÷¡£ÆäÖеÄlist()·½·¨ºÍlistFiles()·½·¨¿ÉÒÔÆ𵽶¨Î»Ìض¨ÎļþµÄ×÷Óá£
2.ObjectÀ࣬ÊÇËùÓÐJavaÀàµÄ×æÏÈ£¬ÈôÒ»¸öÀàÉùÃ÷ʱûÓаüº¬extends¹Ø¼ü×Ö£¬ÔòÆäÖ±½Ó¼Ì³ÐÓÚObjetcÀà¡£ÆäÖÐÓÐÐí¶àÖØÒª·½·¨£º
equals(),notify(),notifyAll(),wait(),hashCode(),toString().finalize()
3.StringÀ࣬²»¿É±äÀ࣬һЩ¿´ÆðÀ´Äܹ»¸Ä±äStringµÄ·½·¨Æäʵ¶¼ÊÇ´´½¨ÁËÒ»¸ö´øÓз½·¨Ëù¸³ÓèÌØÐÔµÄÐÂString¡£StringBufferÀàΪ×Ö·û´®»º³åÀ࣬¿É±ä¡£
StringÀา¸ÇÁËObjectÀàµÄequals()·½·¨£¬¶øStringBufferûÓС£StringÀàµÄtoString()·½·¨ÊÇ·µ»Øµ±Ç°StringʵÀý±¾ÉíµÄÒýÓ㬶øStringBufferÀàµÄtoString()·½·¨·µ»ØµÄÔòÊǵ±Ç°»º³åÇøÖÐËùÓÐ×Ö·ûÄÚÈݵÄеÄString¶ÔÏóµÄÒýÓá£Ê¹ÓÃStringBuffer¿ÉÒÔ¼õÉÙJVM´´½¨String¶ÔÏóµÄ´ÎÊý£¬¼õÉÙ¶¯Ì¬·ÖÅäºÍ»ØÊÕÄÚ´æµÄ´ÎÊý£¬Ìá¸ß³ÌÐòµÄÐÔÄÜ¡£
4.StringÀàÖÐÓÐÈý¸ö¹ØÓÚÕýÔò±í´ïʽµÄ·½·¨£¬split()£¬replaceAll(),replaceFirst()¡£
5.°ü×°Àࣺ
 
1£©×÷ÓãºÌṩÁËһϵÁÐʵÓ÷½·¨¡£ÔÚ¼¯ºÏÖдæ·Å»ù±¾Êý¾ÝÀàÐÍʱֻÄÜʹÓðü×°Àà¡£
2£©¹¹Ôì·½·¨£º
ʹÓÃÆä»ù±¾Êý¾ÝÀàÐÍΪ²ÎÊý¹¹Ôì¡£
³ýCharacterÀàÒÔÍ⣬ÆäËûµÄ°ü×°À඼¿ÉÒÔÓÃÒ»¸ö×Ö·û´®À´¹¹Ôì¡£
¹¹ÔìBooleanÀàÐÍʱ£¬³ý·ÇÊÇtrue£¬·ñÔòµÃµ½µÄbooleanÀàÐÍÒ»¸ÅΪfalse¡£
3£©³£Ó÷½·¨£º
¶¼¸²¸ÇÁËtoString()·½·¨£¬ÒÔ×Ö·û´®ÐÎʽ·µ»Ø°ü×°¶ÔÏóËù±íʾµÄ»ù±¾ÀàÐÍÊý¾Ý¡£
NumberÀ඼ÓÐvalueOf(String s)µÄ¾²Ì¬¹¤³§·½·¨¡£¿ÉÒÔ½«×Ö·û´®½âÎöΪ°ü×°Àà¡£
NumberÀ඼ÓÐparseXXX(String s)µÄ¾²Ì¬¹¤³§·½·¨£¬¿ÉÒÔ½«×Ö·û´®½âÎöΪ»ù±¾Êý¾ÝÀàÐÍ¡£
4£©°ü×°À඼ÊÇfinalÀàÐÍ£¬ÎÞ×ÓÀ࣬²¢ÇÒÊDz»¿É±äÀà¡£
6.MathÀࣺÊýѧÔËËãÀà
7.RandomÀࣺÉú³ÉËæ»úÊý
8.DataÀࣺÒÔºÁÃëÊý±íʾÌض¨µÄÈÕÆÚ¡£sysout(new Date()) ·µ»ØϵͳÈÕÆÚ
9.DataFormatÀࣺÓÃÓÚ¶¨ÖÆÈÕÆڵĸñʽ¡£
10.CalendarÀࣺÉèÖúͶÁÈ¡ÈÕÆÚµÄÆäÖÐÒ»²¿·Ö¡£
11.BigDecimalÀࣺ¾«×¼¼ÆËã¡£
The End of ¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/gnuhpc/archive/2009/11/02/4758221.aspx


Ïà¹ØÎĵµ£º

Javaѧϰ·¾¶

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

JavaÓëmysqlÂÒÂëµÄÎÊÌâ

 
    °²×°Ñ¡ÔñGBK£¬Ê¹ÓÃÑ¡ÔñUTF-8¡£
½â¾ö·½·¨Ò»:(×îÖØÒªµÄÒ»ÖÖ·½·¨)
            ´ò¿ªmysqlĿ¼ÏµÄbinÎļþ¼Ð£¬ÕÒµ½my.ini£¬Ê¹ÓüÇʱ¾ÕÒ¿ª£¬·Ö±ðÕÒ“[mysql]¡¢[client]¡¢[mysqld]”£¬Ìí¼Ó£¨»ò¸Ä³É£©“default-character ......

JavaÔ´´úÂëµÄÕÛÐйæÔò

һЩÆóÒµÔÚÕÐƸ³ÌÐòÔ±µÄʱºò£¬×Ü»áÌØÒâÌá³öÒ»¸öÒªÇ󣬼´ÒªÇó¾ßÓÐÁ¼ºÃµÄ±àÂë¹æ·¶¡£È·ÊµÏÖÔÚ³ÌÐò¿ª·¢ÈËÔ±ÒѾ­²»ÔÚÊǵ¥Ç¹Æ¥ÂíµÄµ¥¸É£¬¶øÊǽ²¾¿ÍÅÌå×÷Õ½¡£´Ëʱ¾ÍÒªÇóÍŶÓÄڵijËÔ±¶¼¿ÉÄܹ»ã¡ÊØ´úÂëµÄ±àд¹æ·¶£¬Õâ¶ÔÓÚ³ËÔ±Ö®¼ä¹²Ïí´úÂë¡¢ÅÅ´íµÈ×÷Òµ¶¼¾ßÓзdz£ÏÖʵµÄÒâÒå¡£ÕâÔÚJavaÓïÑÔÖе±È»Ò²²»ÀýÍâ¡£±ÊÕß½èÕâ´Î»ú»á£¬¾Í¸ú´ó¼Ò·Ö ......

ÏîÄ¿ÖÐÄã²»µÃ²»ÖªµÄ11¸öJavaµÚÈý·½Àà¿â

ÏîÄ¿ÖÐÄã²»µÃ²»ÖªµÄ11¸öJavaµÚÈý·½Àà¿â
ÔðÈα༭£ºñûÀï×÷ÕߣºJavaeye   2009-11-02   À´Ô´£ºIT168ÍøÕ¾
Îı¾Tag£º ITÒµ½ç Java Java¿ª·¢¹¤¾ß
¡¡¡¡¡¾IT168 ÆÀÂÛ¡¿JavaµÚÈý·½library ecosystemÊÇÒ»¸öºÜ¹ãÀ«µÄ·¶³ë¡£²»¾ÃÇ°ÓÐÈË׫ÎÄ£ºÃ¿¸öÏîÄ¿ÖУ¬Äã±ØÐëÖªµÀµÄ11¸öJavaµÚÈý·½Àà¿â¡£
¡¡¡¡µ¥Ôª²âÊÔ
¡¡¡¡ ......

JavaÁ¬½Ó¸÷ÖÖÊý¾Ý¿â

´ËÎÄÖеĴúÂëÖ÷ÒªÁгöÁ¬½ÓÊý¾Ý¿âµÄ¹Ø¼ü´úÂ룬ÆäËû·ÃÎÊÊý¾Ý¿â´úÂëÊ¡ÂÔ
¡¡¡¡1¡¢Oracle8/8i/9iÊý¾Ý¿â£¨thinģʽ£©
¡¡¡¡¡¡¡¡Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
¡¡¡¡¡¡¡¡String url="jdbc:oracle:thin:@localhost:1521:orcl";
¡¡¡¡¡¡¡¡//orclΪÊý¾Ý¿âµÄSID
¡¡¡¡¡¡¡¡String user="test";
¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ