¡¶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ѧϰ·¾¶£¨Ò»£©¹¤¾ßƪ
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJDKÊÇSun¹«Ë¾·¢²¼µÄJDK£¬³ýÁËSunÖ®Í⣬»¹Ó ......
תÖÁ£ºhttp://sllereak.blog.163.com/blog
--JDK--Ò²½ÐJ2SDK--Java2-Software-Development_kit--¿ª·¢¹¤¾ß(²¢ÇÒJDK±¾Ê¾Ͱüº¬ÁËJRE)
--JRE-----JAVA_Runtime_Environment--ÔËÐÐʱ»·¾³
--Èç¹ûÖ»ÊÇÔËÐÐJAVA³ÌÐò¶ø²»×÷Ϊ¿ª·¢ÔòÖ»ÐèÒªJRE¾Í¿ÉÒÔÁË
--j2se--java2_standard_edition
--j2me--java2_mobile_edition
--j2 ......
תÖÁ£ºhttp://sllereak.blog.163.com/blog
--Òì³£
*Òì³£ÊÇjavaÌṩµÄ´¦Àí³ÌÐòÖÐÔËÐÐʱ´íÎóµÄÒ»ÖÖ»úÖÆ
*java³ÌÐòÔÚÖ´Ðйý³ÌÖÐÈç¹û³öÏÖÒì³££¬»áÉú³ÉÒ»¸öÒì³£ÀàʵÀý£¬¸ÃʵÀý·â×°ÁËÒì³£µÄÐÅÏ¢½»¸øjavaÔËÐÐʱϵͳ£¬ÕâÒ»¹ý³Ì½ÐÅ׳öÒì³£
*µ±Òì³£Å׳öʱÈç¹ûûÓⶻñÄÇôjavaÔËÐÐʱĬÈϵĴ¦Àí·½Ê½Êǽ«Òì ......
·þÎñ¶Ë£º
package socket;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
public static void main(String[] args) {
try {
ServerSocket server = new Se ......
һЩÆóÒµÔÚÕÐƸ³ÌÐòÔ±µÄʱºò£¬×Ü»áÌØÒâÌá³öÒ»¸öÒªÇ󣬼´ÒªÇó¾ßÓÐÁ¼ºÃµÄ±àÂë¹æ·¶¡£È·ÊµÏÖÔÚ³ÌÐò¿ª·¢ÈËÔ±ÒѾ²»ÔÚÊǵ¥Ç¹Æ¥ÂíµÄµ¥¸É£¬¶øÊǽ²¾¿ÍÅÌå×÷Õ½¡£´Ëʱ¾ÍÒªÇóÍŶÓÄڵijËÔ±¶¼¿ÉÄܹ»ã¡ÊØ´úÂëµÄ±àд¹æ·¶£¬Õâ¶ÔÓÚ³ËÔ±Ö®¼ä¹²Ïí´úÂë¡¢ÅÅ´íµÈ×÷Òµ¶¼¾ßÓзdz£ÏÖʵµÄÒâÒå¡£ÕâÔÚJavaÓïÑÔÖе±È»Ò²²»ÀýÍâ¡£±ÊÕß½èÕâ´Î»ú»á£¬¾Í¸ú´ó¼Ò·Ö ......