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

¡¾×ª¡¿java ´Ê»ã±íËÙ²éÊÖ²á

java ´Ê»ã±íËÙ²éÊÖ²á
http://bbs.54master.com/91318,1,109
Abstract class ³éÏóÀà:³éÏóÀàÊDz»ÔÊÐíʵÀý»¯µÄÀ࣬Òò´ËÒ»°ãËüÐèÒª±»½øÐÐÀ©Õ¹¼Ì³Ð¡£
Abstract method ³éÏó·½·¨:³éÏó·½·¨¼´²»°üº¬Èκι¦ÄÜ´úÂëµÄ·½·¨¡£
Access modifier ·ÃÎÊ¿ØÖÆÐÞÊηû:·ÃÎÊ¿ØÖÆÐÞÊηûÓÃÀ´ÐÞÊÎJavaÖÐÀà¡¢ÒÔ¼°ÀàµÄ·½·¨ºÍ±äÁ¿µÄ·ÃÎÊ¿ØÖÆÊôÐÔ¡£
Anonymous class ÄäÃûÀà:µ±ÄãÐèÒª´´½¨ºÍʹÓÃÒ»¸öÀ࣬¶øÓÖ²»ÐèÒª¸ø³öËüµÄÃû×Ö»òÕßÔÙ´ÎʹÓõÄʹÓ㬾ͿÉÒÔÀûÓÃÄäÃûÀà¡£
Anonymous inner classes ÄäÃûÄÚ²¿Àà:ÄäÃûÄÚ²¿ÀàÊÇûÓÐÀàÃûµÄ¾Ö²¿ÄÚ²¿Àà¡£
API Ó¦ÓóÌÐò½Ó¿Ú:ÌṩÌض¨¹¦ÄܵÄÒ»×éÏà¹ØµÄÀàºÍ·½·¨µÄ¼¯ºÏ¡£
Array Êý×é:´æ´¢Ò»¸ö»òÕ߶à¸öÏàͬÊý¾ÝÀàÐ͵ÄÊý¾Ý½á¹¹£¬Ê¹ÓÃϱêÀ´·ÃÎÊ¡£ÔÚJavaÖÐ×÷Ϊ¶ÔÏó´¦Àí¡£
Automatic variables ×Ô¶¯±äÁ¿:Ò²³ÆΪ·½·¨¾Ö²¿±äÁ¿method local variables£¬¼´ÉùÃ÷ÔÚ·½·¨ÌåÖеıäÁ¿¡£
AWT³éÏó´°¿Ú¹¤¾ß¼¯:Ò»¸ö¶ÀÁ¢µÄAPIƽ̨ÌṩÓû§½çÃ湦ÄÜ¡£
Base class »ùÀà:¼´±»À©Õ¹¼Ì³ÐµÄÀà¡£
Blocked state ×èÈû״̬:µ±Ò»¸öÏ̵߳ȴý×ÊÔ´µÄʱºò¼´´¦ÓÚ×èÈû״̬¡£×èÈû״̬²»Ê¹Óô¦ÀíÆ÷×ÊÔ´
Call stack µ÷ÓöÑÕ»:µ÷ÓöÑÕ»ÊÇÒ»¸ö·½·¨ÁÐ±í£¬°´µ÷ÓÃ˳Ðò±£´æËùÓÐÔÚÔËÐÐÆÚ±»µ÷Óõķ½·¨¡£
Casting ÀàÐÍת»» :¼´Ò»¸öÀàÐ͵½ÁíÒ»¸öÀàÐ͵Äת»»£¬¿ÉÒÔÊÇ»ù±¾Êý¾ÝÀàÐ͵Äת»»£¬Ò²¿ÉÒÔÊǶÔÏóÀàÐ͵Äת»»¡£
char ×Ö·û:ÈÝÄɵ¥×Ö·ûµÄÒ»ÖÖ»ù±¾Êý¾ÝÀàÐÍ¡£
Child class ×ÓÀà:¼û¼Ì³ÐÀàDerived class
Class Àà:ÃæÏò¶ÔÏóÖеÄ×î»ù±¾¡¢×îÖØÒªµÄ¶¨ÒåÀàÐÍ¡£
Class members Àà³ÉÔ±:¶¨ÒåÔÚÀàÒ»¼¶µÄ±äÁ¿£¬°üÀ¨ÊµÀý±äÁ¿ºÍ¾²Ì¬±äÁ¿¡£
Class methods Àà·½·¨:Àà·½·¨Í¨³£ÊÇÖ¸µÄ¾²Ì¬·½·¨£¬¼´²»ÐèҪʵÀý»¯Àà¾Í¿ÉÒÔÖ±½Ó·ÃÎÊʹÓõķ½·¨¡£
Class variable Àà±äÁ¿:¼û¾²Ì¬±äÁ¿Static variable
Collection ÈÝÆ÷Àà:ÈÝÆ÷Àà¿ÉÒÔ¿´×÷ÊÇÒ»ÖÖ¿ÉÒÔ´¢´æÆäËû¶ÔÏóµÄ¶ÔÏ󣬳£¼ûµÄÈÝÆ÷ÀàÓÐHashtablesºÍVectors¡£
Collection interface ÈÝÆ÷Àà½Ó¿Ú:ÈÝÆ÷Àà½Ó¿Ú¶¨ÒåÁËÒ»¸ö¶ÔËùÓÐÈÝÆ÷ÀàµÄ¹«¹²½Ó¿Ú¡£
Collections framework ÈÝÆ÷À๹¼Ü:½Ó¿Ú¡¢ÊµÏÖºÍËã·¨Èý¸öÔªËع¹³ÉÁËÈÝÆ÷ÀàµÄ¼Ü¹¹¡£
Constructor ¹¹Ô캯Êý:ÔÚ¶ÔÏó´´½¨»òÕßʵÀý»¯Ê±ºò±»µ÷Óõķ½·¨¡£Í¨³£Ê¹Óø÷½·¨À´³õʼ»¯Êý¾Ý³ÉÔ±ºÍËùÐè×ÊÔ´¡£
ContainersÈÝÆ÷:ÈÝÆ÷ÊÇÒ»ÖÖÌØÊâµÄ×é¼þ£¬Ëü¿ÉÒÔÈÝÄÉÆäËû×é¼þ¡£
Declaration ÉùÃ÷:ÉùÃ÷¼´ÊÇÔÚÔ´ÎļþÖÐÃèÊöÀà¡¢½Ó¿Ú¡¢·½·¨¡¢°ü»òÕß±äÁ¿µÄÓï·¨¡£
Derived class ¼Ì³ÐÀà:¼Ì³ÐÀàÊÇÀ©Õ¹¼Ì³Ðij¸öÀàµÄÀà¡£


Ïà¹ØÎĵµ£º

JAVA ÈÕÆÚÏà¹Ø£¨×ªÔØ£©

/**
* ÓйØÈÕÆÚ¹¤¾ßÀà(extends TimeUtil)
*
* TimeUtilÖ÷Òª¹¦ÄÜÓУº
* 1.¸÷ÖÖÈÕÆÚÀàÐÍ£¨×Ö·û£¬util.Date£¬sql.Date£¬CalendarµÈ£©×ª»»
* 2.»ñÈ¡Ö¸¶¨ÈÕÆÚµÄÄê·Ý£¬Ô·ݣ¬ÈÕ·Ý£¬Ð¡Ê±£¬·Ö£¬Ã룬ºÁÃë
* 3.»ñÈ¡µ±Ç°/ϵͳÈÕÆÚ(Ö¸¶¨ÈÕÆÚ¸ñʽ)
* 4.»ñÈ¡×Ö·ûÈÕÆÚÒ»¸öÔµÄÌìÊý
* 5.»ñÈ¡Ö¸¶¨Ô·ݵĵÚÒ»Ìì,×îºóÒ»Ìì
*
* Date ......

ÓÃC££¡¢JAVAÒ»´ÎÐÔÈ¡³ö´æ´¢¹ý³ÌÖеĸ÷ÖÖ·µ»ØÖµ

ÎÊÌ⣺ÔÚ´æ´¢¹ý³ÌÖУ¬ÓÐʱ»áÓöµ½±È½Ï±ä̬µÄ¶«Î÷£¬ÈçÒ»¸ö´æ´¢¹ý³ÌÖÐÓÐoutput·µ»ØÖµ£¬ÓÐreturn·µ»ØÖµ£¬»¹ÓвéѯµÄ·µ»ØÖµTABLE£¬Óöµ½ÕâÑùµÄ´æ´¢¹ý³ÌÕæÊÇÓôÃÆ£¬Ò»´ÎÐÔ°ÑËùÓеķµ»Øֵȡ³öÀ´»¹ÕæµÄÓеãÂé·³¡£
 
 
1¡¢  Ê×ÏÈÀ´¿´Õâ¸ö´æ´¢¹ý³Ì°É
 
CREATE  PROCEDURE ParaTest
@paraout varchar(20) ......

JavaÈռǣ¨Ò»£©——javaÈëÃÅ

javaÈëÃÅ
Ò»¡¢javaÊÇʲô
javaÊÇÒ»ÖÖ¼ÆËã»ú±à³ÌÓïÑÔ£¬Èí¼þ¿ª·¢Æ½Ì¨£¬Èí¼þÔËÐÐƽ̨£¬»¹ÊÇÒ»ÖÖÈí¼þ²¿Êð»·¾³¡£
¶þ¡¢javaÓÐʲô
java¼¼ÊõÓÐÈý¸ö·ÖÖ§£ºJava SE¡¢Java EEºÍJava ME¡£
Èý¡¢javaÄܸÉʲô
Ö÷ÒªÓÐÈý¸ö·½Ã棺×ÀÃæÓ¦ÓóÌÐòµÄ¿ª·¢¡¢ÆóÒµ¼¶µÄÓ¦ÓúÍǶÈëʽÉ豸¡£
ËÄ¡¢javaµÄÌصã
javaÊÇÒ»ÖÖ¼òµ¥µÄ¡¢ÃæÏò¶ÔÏóµÄ¡¢·Ö² ......

javaÊý¾Ý¿âÁ¬½Ó¼°²âÊÔ(sqlserver)


package com.test.util;
import java.sql.*;
public class ConnectDB {
 private Connection conn=null;
 private PreparedStatement pt=null;
 private ResultSet rs=null;
 private String uname="sa";
 private String upwd="sa";
 private String url="jdbc:microsoft:sqlserv ......

java ¶ÁдÎļþ²Ù×÷


Java¶ÁÎļþдÎļþ²Ù×÷
By Aillo on March 27, 2008 7:56 PM | 0 Comments | Previous | Next | EDIT
    ÕâÀJavaµÄ¶ÁÎļþºÍдÎļþ¶¼ÊÇ»ùÓÚ×Ö·ûÁ÷µÄ£¬Ö÷ÒªÓõ½ÏÂÃæµÄ¼¸¸öÀࣺ
1¡¢FileReader----¶ÁÈ¡×Ö·ûÁ÷
2¡¢FileWriter----дÈë×Ö·ûÁ÷
3¡¢BufferedReader----»º³åÖ¸¶¨ÎļþµÄÊäÈë
¸ÃÀàµÄ·½·¨ÓУº ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ