Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Ò


Ïà¹ØÎÊ´ð£º

JSP/Servlet½»»¥ - Java / Web ¿ª·¢

JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
  JSPÒ³Ã潫²ÎÊýPOST¸øservlet
  
  ÒªÇóÈçÏÂ;
  1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......

¹ØÓÚAJAXºÍJSPµÄһЩСÎÊÌâ¡« - Java / Web ¿ª·¢

ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

java socket email ÎÊÌâ - Java / Java SE

ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:

package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......

javaÖд«Öµ - Java / Web ¿ª·¢

ÔõôÑù½«id´«¹ýÈ¥°¡£¿£¿£¿ÊǼòµ¥µÄ´«¡£¡£¡£ÔÚµØÖ·À¸ÖÐдidºÅ
LZ ºÃÓÄĬ£¡²»ÖªµÀÄãµÄÒâ˼£¿

ÊÇÏë°ÑID ´«µ½ACTION ? ͨ¹ýURl id=?

²»¹»Ïêϸ ±ðÈ˲»ÖªµÀÔõÑù°ïÄã

../XXXXX.do?id=XXXX&id2=XXXXX

......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ