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

JavaÌṩdelete¹Ø¼ü×Ö±ØÒªÐÔ

×î½üÔÚдJava³ÌÐò´¦Àí´óÁ¿Êý¾ÝµÄʱºòÄÚ´æÍùÍùËæ×ųÌÐòÖ´ÐеÄÊý´ÎÔö¼Ó¶øÔö¼Ó, ×î´óʱÉÏÕǵ½1.XGÒÔÉÏ, ×îÖÕJVMÄÚ´æÓþ¡, ³ÌÐòÒì³£ÖÕÖ¹,ÔÚ³ÌÐòÖÐÒѾ­½«ÄÜ»ØÊյıäÁ¿¶¼ÖÃΪnullÁË, »¹ÊDz»ÄÜʵʱ»ØÊÕÄÚ´æ, Ïëµ½C++µÄµÄ×ö·¨, ÓÐÎö¹¹º¯ÊýºÍdelete, ¿ÉÒÔ¼°Ê±µÄ»ØÊÕÄÚ´æ, JCPÄÜ·ñ¿ÉÒÔ¿¼ÂÇÒ»ÏÂÔÚJDK7ÖÐÔö¼Ódelete¹Ø¼ü×Ö, ÈÃJavaÒ²ÄÜÏñC++Ò»Ñùʵʱ»ØÊÕÄÚ´æ?


Ïà¹ØÎĵµ£º

Java ÀíÂÛºÍʵ¼ù: Á˽ⷺÐÍ

JDK 5.0 ÖÐÔö¼ÓµÄ·ºÐÍÀàÐÍ£¬ÊÇ Java ÓïÑÔÖÐÀàÐÍ°²È«µÄÒ»´ÎÖØÒª¸Ä½ø¡£µ«ÊÇ£¬¶ÔÓÚ³õ´ÎʹÓ÷ºÐÍÀàÐ͵ÄÓû§À´Ëµ£¬·ºÐ͵ÄijЩ·½Ãæ¿´ÆðÀ´¿ÉÄܲ»ÈÝÒ×Ã÷°×£¬ÉõÖÁ·Ç³£Ææ¹Ö¡£ÔÚ±¾ÔµēJava ÀíÂÛºÍʵ¼ù”ÖУ¬Brian Goetz ·ÖÎöÁËÊø¸¿µÚÒ»´ÎʹÓ÷ºÐ͵ÄÓû§µÄ³£¼ûÏÝÚå¡£Äú¿ÉÒÔͨ¹ýÌÖÂÛÂÛ̳Óë×÷ÕߺÍÆäËû¶ÁÕß·ÖÏíÄú¶Ô±¾ÎĵĿ´·¨¡ ......

¶þ²æÊ÷ (Binary Tree) µÄ»ù±¾²Ù×÷ (Java)

package algorithm.binarytree;
import java.util.Arrays;
import java.util.Stack;
import util.ArrayUtil;
import util.OutputUtil;
public class BinTree {
    private BinNode root = null;
    public BinTree()
    {
    }
  &nb ......

Java ¶àÏß³Ì ÅÀ³æ³ÌÐò£¨spider£©Éè¼ÆÓëʵÏÖ

µ±spider³ÌÐò·ÃÎʵ½Ò»¸öÍøÒ³£¬±ØÐë½øÐÐÒÔϼ¸Ïî»ù±¾´¦Àí£º³éÈ¡ÍøÒ³Öаüº¬µÄÎı¾;³éÈ¡ÍøÒ³Öаüº¬µÄURL£¬²¢½«ÆäÇø·ÖΪÍøÒ³Öаüº¬µÄÎı¾£»³éÈ¡ÍøÒ³Öаüº¬µÄURL£¬²¢½«ÆäÇø·ÖΪÍøÕ¾ÄÚURL»òÍøÕ¾ÍâURL¡£
2.2¸÷Ö÷Òª¹¦ÄÜ Ä£¿é£¨ÀࣩÉè¼Æ
2.2.1 spiderÀà
    ¸ÃÀàΪÖ÷À࣬¼Ì³Ð×ÔÏß³ÌÀà¡£Ëü±¾Ê²¢²»×ö»ñÈ¡ÍøÒ³µÄ¾ßÌå ......

java±ÊÊÔ

1.MVCµÄ¸÷¸ö²¿·Ö¶¼ÓÐÄÇЩ¼¼ÊõÀ´ÊµÏÖ?ÈçºÎʵÏÖ?
´ð£ºMVCÊÇModel£­View£­ControllerµÄ¼òд¡£"Model" ´ú±íµÄÊÇÓ¦ÓõÄÒµÎñÂß¼­£¨Í¨¹ýJavaBean£¬EJB×é¼þʵÏÖ£©£¬ "View" ÊÇÓ¦ÓõıíʾÃ棨ÓÉJSPÒ³Ãæ²úÉú£©£¬"Controller" ÊÇÌṩӦÓõĴ¦Àí¹ý³Ì¿ØÖÆ£¨Ò»°ãÊÇÒ»¸öServlet£©£¬Í¨¹ýÕâÖÖÉè¼ÆÄ£ÐÍ°ÑÓ¦ÓÃÂß¼­£¬´¦Àí¹ý³ÌºÍÏÔʾÂß¼­·Ö³É²» ......

Java SE ¶à̬

/*¶à̬ʾÀý*/
package demo;
class AA {
 public void f(){
  System.out.println("f in AA");
 }
}
class BB extends AA{
 public void f(){
  System.out.println("f in BB");
 }
 
}
public class Test_Dt {
 public static void main(String[] args) ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ