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

JavaƵµÀר¼ÒרÀ¸ÉÏÏß Ê×ÆÚÈÈÆÀJava7ÐÂÌØÐÔËÄ´óÌåÑé

¾àÀëJava7µÄMR°æ±¾·¢²¼ÓжÎʱ¼äÁË£¬Í¨¹ý°²×°ÊÔÓÃÖ®ºóµÄ×ÜÌå¸Ð¾õÊÇ£ºËÙ¶ÈÓÖ¿ìÁË¡£×ÐϸÔĶÁÁËJava7µÄÏà¹ØÎĵµ·¢ÏÖ£¬Java7ÓµÓÐÈçϵÄһЩеÄÌØÐÔ¡£
Ê×ÏÈÊÇÄ£¿é»¯ÌØÐÔ£ºÈç¹ûÄú°²×°ºÍʹÓùýNetBeans6.7µÄ»°£¬ÊDz»ÊÇ»áÓÐÒ»¸öºÜ´óµÄ¸Ð¾õ£¬¾ÍÊÇNetBeans6.7µÄÆô¶¯ËٶȱÈÒÔÇ°¿ìÁ˺ܶ࣬µ±È»²¢²»ÊÇNetBeansÒѾ­Ê¹ÓÃÁËJava7£¬¶øÊÇNetBeans½«ÒÔÇ°Ò»Æô¶¯¾Í¼ÓÔصŦÄÜ»®·Ö³ÉÁ˺ܶàµÄÄ£¿é£¬µÚÒ»´Î°²×°Æô¶¯µÄʱºò£¬ºÜ¶àÄ£¿é¶¼Ã»ÓмÓÔØ£¬Ö»ÊǼÓÔØÁËһЩ×î»ù±¾µÄ¹¦ÄÜÄ£¿é£¬ÔÚËæºóµÄʹÓùý³ÌÖУ¬Èç¹ûÓõ½ÁËijһÖÖ¹¦ÄÜ£¬¾ÍÆôÓÃÏàÓ¦µÄÄ£¿é£¬ÕâÑùÐγÉÁËÒ»¸ö°´Ðè¼ÓÔصÄÌص㣬µ±È»Ëæ׿ÓÔصÄÄ£¿éÊýÁ¿Ôö¼Ó£¬Æô¶¯µÄËÙ¶ÈÒ²»áËæÖ®±äÂý¡£²»¹ý³ý·ÇÄãÒªÓÃÆäÖеÄËùÓÐÄ£¿é£¬·ñÔò×ÜÊDZÈ֮ǰµÄ°æ±¾ËÙ¶ÈÒª¿ì¡£ÏÖÔÚµÄ Java7Ò²ÊDzÉÓÃÁËÄ£¿éµÄ»®·Ö·½Ê½À´ÌáËÙ£¬Ò»Ð©²»ÊDZØÐëµÄÄ£¿é²¢Ã»ÓÐÏÂÔغͰ²×°£¬Òò´ËÔÚʹÓÃȫеÄJava7µÄÐéÄâ»úµÄʱºò»á·¢ÏÖÕæµÄºÜ¿ì£¬µ±ÐéÄâ»úÐèÒªÓõ½Ä³Ð©¹¦ÄܵÄʱºò£¬ÔÙÏÂÔغÍÆôÓÃÏàÓ¦µÄÄ£¿é£¬ÕâÑùʹµÃ×î³õÐèÒªÏÂÔصÄÐéÄâ»ú´óСµÃµ½ÁËÓÐЧµÄ¿ØÖÆ¡£Í¬Ê±¶ÔÆô¶¯ËÙ¶ÈÒ²ÓÐÁ˺ܴóµÄ¸ÄÉÆ¡£Èç¹ûÄã¶Ô OpenJDKµÄ¼Ü¹¹±È½ÏÊìϤ£¬ÄãÉõÖÁ¿ÉÒÔ¶¨ÖÆJDKµÄÄ£¿é¡£
Æä´ÎÊǶàÓïÑÔÖ§³Ö£ºÕâÀïµÄ¶àÓïÑÔ²»ÊÇÖ¸ÖÐÎÄÓ¢ÎÄÖ®ÀàµÄÓïÑÔ£¬¶øÊÇ˵Java7µÄÐéÄâ»ú¶Ô¶àÖÖ¶¯Ì¬³ÌÐòÓïÑÔÔö¼ÓÁËÖ§³Ö£¬±ÈÈ磺Rubby¡¢ PythonµÈµÈ¡£¶ÔÕâЩ¶¯Ì¬ÓïÑÔµÄÖ§³Ö¼«´óµØÀ©Õ¹ÁËJavaÐéÄâ»úµÄÄÜÁ¦¡£¶ÔÓÚÄÇЩÊìϤÕâЩ¶¯Ì¬ÓïÑԵijÌÐòÔ±¶øÑÔ£¬ÔÚʹÓÃJavaÐéÄâ»úµÄ¹ý³ÌÖÐͬÑù¿ÉÒÔʹÓÃËüÃÇÊìϤµÄÓïÑÔ½øÐй¦Äܵıàд£¬¶øÕâЩÓïÑÔÊÇÅÜÔÚ¹¦ÄÜÇ¿´óµÄJVMÖ®Éϵġ£
ÔÙÓÐÊÇ¿ª·¢ÕߵĿª·¢Ð§Âʵõ½Á˸ÄÉÆ£ºJava7ͨ¹ý¶àÖÖÌØÐÔÀ´ÔöÇ¿¿ª·¢Ð§ÂÊ¡£±ÈÈç¶ÔÓïÑÔ±¾Éí×öÁËһЩϸСµÄ¸Ä±äÀ´¼ò»¯³ÌÐòµÄ±àд£¬ÔÚ¶àÏ̲߳¢·¢Óë¿ØÖÆ·½Ã棺ÇáÁ¿¼¶µÄ·ÖÀëÓëºÏ²¢¿ò¼Ü£¬Ò»¸öÖ§³Ö²¢·¢·ÃÎʵÄHashMapµÈµÈ¡£Í¨¹ý×¢½âÔöÇ¿³ÌÐòµÄ¾²Ì¬¼ì²é¡£ÌṩÁËһЩеÄAPIÓÃÓÚÎļþϵͳµÄ·ÃÎÊ¡¢Òì²½µÄÊäÈëÊä³ö²Ù×÷¡¢SocketͨµÀµÄÅäÖÃÓë°ó¶¨¡¢¶àµãÊý¾Ý°üµÄ´«Ë͵ȵȡ£
×îºóÊÇÖ´ÐÐЧÂʵÄÌá¸ß£¬Ò²ÊǸøÈ˸оõ×îÕæÇÐÌåÑéµÄÌØÐÔ£ºÑ¹ËõÁË64λµÄ¶ÔÏóÖ¸Õ룬Java7ͨ¹ý¶Ô¶ÔÏóÖ¸ÕëÓÉ64λѹËõµ½Óë32λָÕëÏàÆ¥ÅäµÄ¼¼ÊõʹµÃÄÚ´æºÍÄÚ´æ´ø¿éµÄÏûºÄµÃµ½Á˺ܴóµÄ½µµÍÒò¶øÌá¸ßÁËÖ´ÐÐЧÂÊ¡£´ËÍ⻹ÌṩÁËеÄÀ¬»ø»ØÊÕ»úÖÆ£¨G1£©À´½µµÍÀ¬»ø»ØÊյĸºÔغÍÔöÇ¿À¬»ø»ØÊÕµÄЧ¹û¡£G1À¬»ø»ØÊÕ»úÖÆÓµÓиüµÍµÄÔÝÍ£Âʺ͸üºÃµÄ¿ÉÔ¤²âÐÔ¡£
ÆäʵÈçÉϵÄÕâЩÌØÐÔÊÇÔÚ¸æËßÎÒÃÇ£¬Java7¸ÄÉÆÁËʲô£¬ËÙ¶ÈΪʲô¿ìÁË£¬µ±È»ÕâЩÌØÐÔ½«Ëæ×


Ïà¹ØÎĵµ£º

Java»ù´¡—»ù±¾¸ÅÄî

·½·¨ÖØÔØ(overloading method)
       ·½·¨ÖØÔØÊÇÈÃÀàÒÔͳһµÄ·½Ê½´¦Àí²»Í¬ÀàÐÍÊý¾ÝµÄÒ»ÖÖÊֶΡ£JavaµÄ·½·¨ÖØÔØ£¬¾ÍÊÇÔÚÀàÖпÉÒÔ´´½¨¶à¸ö·½·¨£¬ËüÃǾßÓÐÏàͬµÄÃû×Ö£¬µ«¾ßÓв»Í¬µÄ²ÎÊýºÍ²»Í¬µÄ¶¨Òå¡£µ÷Ó÷½·¨Ê±Í¨¹ý´«µÝ¸øËüÃǵIJ»Í¬¸öÊýºÍÀàÐ͵IJÎÊýÀ´¾ö¶¨¾ßÌåʹÓÃÄĸö·½·¨, Õâ¾ÍÊǶà̬ÐÔ¡£ ......

JAVAѧϰ±Ê¼Ç(1)

jdk,j2ee,j2se,j2meµÄ¸ÅÄîÇø±ð
1.
JDKÊÇJava development toolkit,Ï൱ÓÚÊÇJavaµÄ¿âº¯Êý£¬ÊDZàÒ룬ÔËÐÐjava³ÌÐòµÄ¹¤¾ß°ü¡£
J2EEÊÇJava 2 enterprise editionÊÇJavaµÄÒ»ÖÖÆóÒµ°æÓÃÓÚÆóÒµ¼¶µÄÓ¦Ó÷þÎñ¿ª·¢
J2SEÊÇJava 2 standard editionÊÇJavaµÄ±ê×¼°æ,ÓÃÓÚ±ê×¼µÄÓ¦Óÿª·¢
J2MEÊÇJava 2 Micro EditionÊÇJavaµÄ΢ÐÍ°æ,³£ ......

javaÓë´æ´¢¹ý³Ì

Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
CREATE OR REPLACE PROCEDURE TESTA(PARA1 IN VARCHAR2,PARA2 IN VARCHAR2) AS
BEGIN
   INSERT INTO HYQ.B_ID (I_ID,I_NAME) VALUES (PARA1, PARA2);
END TESTA;
È»ºóÄØ£¬ÔÚjavaÀïµ÷ÓÃʱ¾ÍÓÃÏÂÃæµÄ´úÂ룺
package com.hyq.src;
import java.sql.*;
import j ......

java¶¨Ê±ÈÎÎñ


ͨ¹ý¼àÌýÆ÷£¨Listener£©ºÍ¶¨Ê±Æ÷£¨Timer£©¶¨Ê±Ö´ÐÐij¸öÈÎÎñ£¨Task£©¡£
(1)Listener

import
java.util.Timer;
import
javax.servlet.ServletContextEvent;
import
javax.servlet.ServletContextListener;
public
 
class
MyListener
implements
ServletContextListener {
 
p ......

Thinking in Javaѧϰ±Ê¼Ç£¨¶þ£©

ÎÒ¸öÈËÀí½â³õʼ»¯ºÍÇåÀíµÄ¹Øϵ¾ÍÊdzԷ¹ºÍÉϲÞËù£¬ÕýÊÇÓÐÁ˳õʼ»¯µÄ¶ÔÏó£¬ÎÒÃDzÅÄÜʹÓÃÇåÀí¡£µ«ÊÇΪʲôҪÇåÀíÄØ£¿ÏëÏóÒ»ÏÂÒ»¸öÈ˹â³Ô²»À­£¬ÊǸöʲôÇé¿ö£¿£º£©ÄѵÀÎÒÃǵijÌÐòÒ²ÒªÏñ³Ô·¹Ò»Ñù¹â²úÉú¶ÔÏ󣬶ø²»È¥ÇåÀíʹÓÃÍê±ÏµÄ¶ÔÏó£¿ÈÎÓÉÎÒÃǵĶÔÏó¶Ñ»ýÈçɽ£¬Õ¼ÓÃϵͳ×ÊÔ´£¿
   ÒÔ¹¹Ô캯ÊýÈ·±£³õʼ»¯µÄ½øÐÐ
&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ