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

JavaÖгõʼ»¯µÄÒ»¸öÎÊÌâ - Java / Java SE

JavaÖеÄʵÀýÓò³õʼ»¯ÔÚʲôʱºò¿ªÊ¼Ö´Ðеģ¿
Õâ¸öÎÊÌâ±È½ÏÁýͳ
ÓòÒ²Óз־²Ì¬ºÍ·Ç¾²Ì¬Ö®·Ö.ÕâÒ»ÀàµÄÎÊÌâÖ±½ÓÔÚCSDNËÑË÷¾ÍÒ»´ó¶Ñ

Ó¦¸ÃÊÇ¿é³õʼ»¯

±»×°ÔغÍʵÀý»¯Ê±

¼ÙÈçÒÔÀàÖзֱðÓÐÒ»¸öÆÕͨµÄÊôÐÔºÍÒ»¸ö¾²Ì¬ÊôÐÔ£¬Í¬Ê±ÀàÖл¹´æÔÚÒ»¸östatic ´úÂëÇøÓò£¬ÄÇôÕâ¸öÀàµÄ¶ÔÏóµÄ´´½¨¹ý³Ì´óÖÂÓ¦¸ÃÊÇÕâÑù£º

1. ÀàµÚÒ»´ÎʹÓÃʱ£¬¶¯Ì¬¼ÓÔØµ½JVMÖС£µ±Ê״δ´½¨¸ÃÀàµÄ¶ÔÏóʱ£¬»òÕßÀàÖеľ²Ì¬·½·¨¡¢¾²Ì¬ÊôÐÔÓòÊ״α»·ÃÎÊʱ£¬java½âÊÍÆ÷²éÕÒclassPath£¬¶¨Î»µ½ÀàµÄclassÎļþ 

2. ÔØÈëclassÎļþ£¬Éú³ÉÒ»¸öClassÀàÐͶÔÏó£¬ËùÓÐÓйصľ²Ì¬³õʼ»¯¶¯×÷¶¼»áÖ´ÐУ¬¾²Ì¬´úÂë¿é£¬¾²Ì¬³ÉÔ±ÊôÐÔ¡£ ²¢ÇÒÕâÖÖ³õʼ»¯¶¯×÷Ö»ÔÚClass¶ÔÏóÊ״μÓÔØÊ±ºò½øÐÐÒ»´Î¡£
 

3. µ±ÓÃnew ´´½¨¶ÔÏóʱ£¬Ê×ÏÈJVMÔÚ¶ÑheapÉÏΪ¶ÔÏó·ÖÅä×ã¹»µÄ´æ´¢¿Õ¼ä
 

4. ´æ´¢¿Õ¼äÇå¿Õ£¬×Ô¶¯½«¶ÔÏóÖеÄËùÓлù±¾ÀàÐÍÊý¾Ý¶¼ÉèÖóÉÁËĬÈÏÖµ£¬¶ÔÏóÒýÓñ»ÉèÖÃΪnull

 

5. Ö´ÐÐËùÓÐÔÚ×ֶζ¨Òå´¦µÄһЩ³õʼ»¯²Ù×÷

 

6. µ÷Óù¹ÔìÆ÷·½·¨¡££¨Ã»Óм̳У©


class a {}
class b extends a {}
class c
{
public static void mian ( String [] args )
{
a a = new b(); //aºÍbÏÖÔÚ¿ªÊ¼³õʼ»¯ÁË
}
}


class d
{
public static void mian ( String [] args )
{
d d = new d(); //dÏÖÔÚ¿ªÊ¼³õʼ»¯ÁË
}
}




class a {}
class b extends a {}
class c
{
public static void mian ( String [] args )
{
a a = new b(); //aºÍbÏÖÔÚ¿ªÊ¼³õʼ»¯ÁË
//»¹ÓÐcÒ


Ïà¹ØÎÊ´ð£º

javaÈÕÆÚ´¦Àí - Java / Java SE

µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄǰºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910

È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)  
......

FCKÉÏ´«Îļþµ½linux·þÎñÆ÷ÎÊÌâ - Java / Java EE

ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һϡ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......

HTML±êÇ©µ×²ãµÄʵÏÖÔ­Àí¡¢»úÖÆ - Java / Java SE

ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔÊ¾Ò»Ð©ÌØ¶¨±íÏÖÐÎÊ½ÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔ­ÀíÊÇÊ²Ã´ÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË

ÎҲºͱàÒëÔ­ÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......

jspÐÂÊÖ,Çë½Ì¸÷λ? - Java / Web ¿ª·¢

³ÌÐòÈçÏÂ:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" %>
<%@ page import="com.mysql.jdbc.Driver" %>
<%@ page import ......

jspºÍtomcatÎÊÌ⣬¿ì·èÁË - Java / Java EE

ÎÒдÁ˸öjspÒ³Ãæ£¬È»ºó¸Ä¶¯ÁËһϣ¬¸Ä¶¯µÄÄÚÈݾÍÊÇÔÚjspÒ³ÃæµÄjsº¯ÊýÀï¼ÓÁ˸öalert()Óï¾ä£¬µ«ÊÇÎÒ·ÃÎÊÕâ¸öÒ³ÃæÊ±£¬ËÀ»î¶¼ÊÇÔ­À´Ò³ÃæµÄÄÚÈÝ£¬ÎÒ¼ÓÁ˺ܶàalertº¯Êý»¹ÊÇû¸Ä¶¯Ç°µÄÒ³ÃæÄÚÈÝ£»tomcatÖØÆôÁË£¬Ò²ÖØÐ²¿ÊðÕâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ