¡¶javaÓïÑÔ³ÌÐòÉè¼Æ£¨Ò»£©¡·2009Äê×Ôѧ¿¼ÊÔ´ó¸ÙµÚ4ÕÂ
¡¶javaÓïÑÔ³ÌÐòÉè¼Æ£¨Ò»£©¡·2009Äê×Ôѧ¿¼ÊÔ´ó¸ÙµÚ4ÕÂ
www.wesiedu.com 2009-5-5 ÔÚÏßÄ£Ä⿼³¡
µÚ4Õ Êý×éºÍ×Ö·û´®
(Ò»)¿Î³ÌÄÚÈÝ
4.1 Êý×é
4.1.1 һάÊý×é
4.1.2 ¶àάÊý×é
4.2 ×Ö·û´®
4.2.1 ×Ö·û´®³£Á¿
4.2.2 ×Ö·û´®ÉùÃ÷ºÍ´´½¨
4.2.3 ×Ö·û´®»ù±¾²Ù×÷
4.2.4 StringTokenizerÀà
4.2.5×Ö·û´®Óë×Ö½ÚÊý×é
4.2.6 ¶ÔÏóµÄ×Ö·û´®±íʾ
(¶þ)ѧϰĿµÄÓëÒªÇó
±¾ÕÂÄ¿µÄÊǽéÉÜÊý×éºÍ×Ö·û´®¡£Êý×éµÄÉùÃ÷¡¢´´½¨£¬ÒÔ¼°Êý×éµÄʹÓÃ;×Ö·û´®³£Á¿¡¢×Ö·û´®¶ÔÏóµÄÉùÃ÷ºÍ´´½¨
£¬Óë×Ö·û´®Óйصij£Ó÷½·¨¡£ÒªÇóÄÜÕýÈ·ÉùÃ÷ºÍ´´½¨Êý×顢ʹÓÃÊý×é;ÄÜÕýÈ·ÉùÃ÷ºÍ´´½¨×Ö·û´®£¬
´¦Àí×Ö·û´®£¬ÕÆÎÕ×Ö·û´®Óë»ù±¾ÀàÐÍÊý¾ÝÖ®¼äµÄת»»·½·¨¡£
(Èý)¿¼ºË֪ʶµãÓ뿼ºËÒªÇó
1.һάºÍ¶þάÊý×éµÄÉùÃ÷ºÍ´´½¨£¬Ò»Î¬ºÍ¶þάÊý×éµÄ¼òµ¥Ó¦Óã¬ÒªÇó´ïµ½“×ÛºÏÓ¦ÓÔ
²ã´Î¡£·ÇƽºâµÄ¶àάÊý×éµÄ´´½¨ÒªÇó´ïµ½“¼òµ¥Ó¦ÓÔ²ã´Î¡£
2.×Ö·û´®µÄÉùÃ÷ºÍ´´½¨£¬ÒªÇó´ïµ½“×ÛºÏÓ¦ÓÔ²ã´Î¡£
3.×Ö·û´®µÄ³£Óô¦Àí·½·¨£¬×Ö·û´®Óë»ù±¾Êý¾ÝÀàÐÍÖ®¼äµÄת»»£¬ÒªÇó´ïµ½“×ÛºÏÓ¦ÓÔ
²ã´Î¡£
4.StringTokenizerÀàµÄÓ÷¨£¬ÒªÇó´ïµ½“¼òµ¥Ó¦ÓÔ²ã´Î¡£
5.×Ö·û´®Óë×Ö½ÚÊý×éÖ®¼äµÄת»»£¬ÒªÇó´ïµ½“¼òµ¥Ó¦ÓÔ²ã´Î¡£
6.¶ÔÏóµÄ×Ö·û´®±íʾ£¬ÒªÇó´ïµ½“¼òµ¥Ó¦ÓÔ²ã´Î¡£
±¾ÎÄÀ´×Ô: ¡ï“ÖлªÎ¬Ë¼ÍøУ¡ï http://www.wesiedu.com Ïêϸ³ö´¦²Î¿¼£ºhttp://www.wesiedu.com/zikao/Html/20090505095303.shtml
Ïà¹ØÎĵµ£º
Ê×ÏÈ£¬´ò¿ªMySQL Query Browser£¬ÔÚµ±Ç°TestÊý¾Ý¿âÏ£¬Ð½¨Ò»¸östudent±í£¬ÓÐÈçÏÂÊôÐÔ£º
create table student (name varchar(10),id int(2),sex varchar(10));
³ÌÐò¼ûÏ£º
package com.JDBC;
import java.sql.*;
public class JDBCTest {
public static void main(String[] args) {String driver = "com.mys ......
package com.wfy.system.dao;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
......
ÕâÈý¸öÓïÑÔ·Ö±ðÊÇÈý¸ö¹«Ë¾¿ª·¢µÄ£¬SUNµÄJava£¬NetscapeµÄJavaScript£¬MicrosoftµÄJScript
JavaScriptÊÇÓÉNetscape¹«Ë¾¿ª·¢²¢ËæNavigatorµ¼º½ÕßÒ»Æð·¢²¼µÄ¡¢½éÓÚJavaÓëHTMLÖ®¼ä¡¢»ùÓÚ¶ÔÏóʼþÇý¶¯µÄ±à³ÌÓïÑÔ£¬²»ÐèÒªJava±àÒëÆ÷£¬¶øÊÇÖ±½ÓÔËÐÐÔÚWebä¯ÀÀÆ÷ÖУ¬ËüµÄÇ°ÉíÊÇLive Script¡£
JScriptÊÇÒ»ÖÖÀàËÆJavaScriptµÄÓïÑÔ¡ ......
¶ÔÓÚÒ»¸öʵÏÖÁËComparable½Ó¿ÚµÄ¶ÔÏ󣬸ýӿÚÖ»ÄÜʵÏÖÒ»´Î¡£Èç¹ûÔÚÒ»¸ö¼¯ºÏÀïÃæÐèҪʹÓÃidÅÅÐò£¬¶øÔÚÁíÍâÒ»¸ö¼¯ºÏÀïÐèÒª°´Ãû×ÖÅÅÐòÕâʱ¾ÍÐèÒªÔÚÕâ¸ö¼¯ºÏÀïÃæÖ¸¶¨±È½ÏÆ÷¡£
Comparable½Ó¿ÚÉùÃ÷ÁËcompareTo(Object o)·½·¨
Comparator ½Ó¿ÚÉùÃ÷ÁËcompare(Object o1,Object o2)·½·¨
eg:
µÚÒ»¸öÊ÷¼¯ÊÇ°´ÕÕ¶ÔÏóĬÈϵÄidÅÅÐò£¬µ ......
ÕâÀï¶ÔÓÚ¼¸¸ö»ù±¾µÄ¸ÅÄî URL TCP UDP Socket ¾Í²»¼Ó˵Ã÷ÁË£¬ÕâÀï½ö½öÊǼǼһЩѧϰÈÕÖ¾±¸Íü¡£
1£ºÈçºÎ¶¨ÒåÏà¶Ô×ÊÔ´
¼ÙÉèÓÐÈçÏÂÁ½¸ö×ÊÔ´ £º
http://www.gamelan.com/pages/Gamelan.game.html
http://www.gamelan.com/pa ......