javaÁ¬½Ó¸÷ÖÖÊý¾Ý¿âµÄÅäÖÃÎļþд·¨£¨×ª£©
²Î¿¼ÅäÖÃÎļþ
# ʾÀýÅäÖòο¼£¬º¸Ç¼¸ºõËùÓеÄÖ÷Á÷Êý¾Ý¿â
############# OracleÊý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=oracle.jdbc.driver.OracleDriver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:oracle:thin:@127.0.0.1:1521:zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# DB2Êý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=com.ibm.db2.jcc.DB2Driver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:db2://127.0.0.1:50000/zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# MySQLÊý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=com.mysql.jdbc.Driver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:mysql://127.0.0.1:3306/zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# PostgreSQLÊý¾Ý¿âÊý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=org.postgresql.Driver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbcostgresql://127.0.0.1/zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# SQLServer2000Êý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=com.microsoft.jdbc.sqlserver.SQLServerDriver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:microsoftqlserver://127.0.0.1:1433;DatabaseName=zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# SQLServer2005Êý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=zvfdb
# Êý¾Ý¿âÓû§Ãû
user=root
# Óû§ÃÜÂë
password=zvfims
############# InformixÊý¾Ý¿âÊý¾Ý¿â ########################
# Êý¾Ý¿âÇý¶¯Ãû
driver=com.informix.jdbc.IfxDriver
# Êý¾Ý¿âURL(°üÀ¨¶Ë¿Ú£©
dburl=jdbc:informix-sqli://127.0.0.1:1533/zvfdb
#&
Ïà¹ØÎĵµ£º
ÏÈÌùÒ»¶Î
Java
»ù±¾½á¹¹
Java
½á¹¹°üÀ¨Ëĸö²»Í¬¶øÓÖÏà¹ØµÄ²¿·Ö£º
Java
ÓïÑÔ¡¢
class
Îļþ¸ñʽ¡¢Ó¦ÓóÌÐò½Ó
¿Ú¡¢ÐéÄâ»ú
ÆäÖУ¬ÐéÄâ»úµÄÖ÷ÒªÈÎÎñÊÇÔÚ³ÌÐòÔËÐÐÖÐÐèÒªµÄʱºòµ÷ÓÃ
class
Îļþ²¢Ö´ÐÐÆäÖеÄ×Ö½ÚÂë¡£Ò»¸ö
Java
Ó¦
ÓÃÓÐÁ½ÖÖ
class loader
£º
the system class loader
ºÍ
class loader objects
......
1.ËãÊõÔËËã·û
JavaµÄËãÊõÔËËã·û·ÖΪһԪÔËËã·ûºÍ¶þÔªÔËËã·û¡£Ò»ÔªÔËËã·ûÖ»ÓÐÒ»¸ö²Ù×÷Êý£»¶þÔªÔËËã·ûÓÐÁ½¸ö²Ù×÷Êý£¬ÔËËã·ûλÓÚÁ½¸ö²Ù×÷ÊýÖ®¼ä¡£ËãÊõÔËËã·ûµÄ²Ù×÷Êý±ØÐëÊÇÊýÖµÀàÐÍ¡£
(1)Ò»ÔªÔËËã·û£º
Ò»ÔªÔËËã·ûÓУºÕý£¨+£©¡¢¸º£¨££©¡¢¼Ó1£¨++£©ºÍ¼õ1£¨£££ ......
Date date = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("yyyyÄêMMÔÂddÈÕ HH:mm:ss");
System.out.println(sdf.format(date));
SimpleDateFormat sdf2 = new SimpleDateFormat("MM");
System.out.println(sdf2.format(date));
Calendar c = Calendar.getInstance();
System.out.println(c.get(C ......
public class JavaPlus {
public static void main(String[] args) {
int x = 5;
x++;// x = x + 1;//ºó¼Ó¼Ó
System.out.println(x);
x--;// x = x - 1;//ºó¼õ¼õ
System.out.println(x);
++x;// x = x + 1;//Ç°¼Ó¼Ó
Sys ......