JavaÈçºÎдעÊÍ
Õû¸öÀàÎļþ×¢ÊÍ
ʾÀýÈçÏÂ
:
/*
* @(#)Object.java
1.61 03/01/23
*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.lang;
×¢Êͽṹ
:
/*
* @(#){
ÀàÃû³Æ
}.java
{
´´½¨Ê±¼ä
}
*
* {
ijÈË»òij¹«Ë¾¾ßÓÐÍêÈ«µÄ°æÈ¨
}
* {
ʹÓÃÕß±ØÐë¾¹ýÐí¿É
}
*/
package java.lang;
2.
¾ßÌåÀ๦ÄÜ×¢ÊÍ
ʾÀýÈçÏÂ
:
/**
* Class <code>Object</code> is the root of the class hierarchy.
* Every class has <code>Object</code> as a superclass. All objects,
* including arrays, implement the methods of this class.
*
* @author
unascribed
* @version 1.61, 01/23/03
* @see
java.lang.Class
* @since
JDK1.0
*/
public class Object {}
×¢Êͽṹ
:
/**
*
Àà
<code>{
ÀàÃû³Æ
}</code>{
´ËÀ๦ÄÜÃèÊö
}
*
* @author
{
×÷Õß
}
* @version {
°æ±¾
,
³£ÓÃʱ¼ä´úÌæ
}
* @see
java.lang.Class
* @since
JDK{jdk
°æ±¾
}
*/
public class Object {}
3.
Àà±äÁ¿×¢ÊÍ
ʾÀýÈçÏÂ
:
/** The value is used for character storage. */
private char value[];
×¢Êͽṹ
:
/** {
´ËÖµÊÇÓÃÀ´´æ´¢
/
¼Ç¼ʲôµÄ
}*/
private String str ;
4.
Àà·½·¨×¢ÊÍ
ʾÀýÈçÏÂ
:
/**
* Returns a new string that is a substring of this string. The
* substring begins with the character at the specified index and
* extends to the end of this strin
Ïà¹ØÎĵµ£º
8.9 ³éÏóÀàºÍ½Ó¿Ú
ÔÚʵ¼ÊµÄÏîÄ¿ÖУ¬Õû¸öÏîÄ¿µÄ´úÂëÒ»°ã¿ÉÒÔ·ÖΪ½á¹¹´úÂëºÍÂß¼µÄ´úÂë¡£¾ÍÏñ½¨Ôì·¿ÎÝʱ£¬ÐèÒªÊ×ÏȴÕû¸ö·¿ÎݵĽṹ£¬È»ºóÔÙϸ»¯·¿ÎÝÏà¹ØµÄÆäËüµÄ½á¹¹£¬Ò²ÏñÖÆÔìÆû³µÊ±£¬ÐèÒªÊ×ÏÈÖÆ×÷Æû³µµÄ¿ò¼Ü£¬È»ºó²ÅÊǰ²×°Åä¼þÒÔ¼°ÃÀ»¯µÈ¹¤×÷¡£³ÌÐòÏîÄ¿µÄʵÏÖÒ ......
8.9.3 ³éÏóÀàºÍ½Ó¿ÚµÄ±È½Ï
³éÏóÀàºÍ½Ó¿Ú¶¼ÊǽøÐÐÃæÏò¶ÔÏóÉè¼ÆÊ±×¨ÓõÄÉè¼Æ½á¹¹£¬ÔÚʵ¼Ê½øÐÐÏîÄ¿Éè¼ÆÊ±£¬¾³£ÐèÒª¿¼ÂǵÄÎÊÌâ¾ÍÊÇ——“ʹÓóéÏóÀ໹Êǽӿڔ£¿ÏÂÃæÍ¨¹ý¶ÔÓÚ³éÏóÀàºÍ½Ó¿Ú½øÐмòµ¥µÄ±È½Ï£¬ÊìϤÁ½ÕßÖ®¼äµÄÇø±ðºÍÁªÏµ£¬´Ó¶øÔÚʵ¼ÊÉè¼ÆÊ±Ê ......
The Java virtual machine defines various runtime data areas that are used during execution of a program. Some of these data areas are created on Java virtual machine start-up and are destroyed only when the Java virtual machine exits. Other data areas are per thread. Per-thread data areas are create ......
¡¡¡¡Java±à³Ìʱ£¬ÎªÀàDialogTry2Ìí¼Ó¹Ø±Õ´°¿Úʼþ£¬ÎÒÔÚ¹¹Ôì·½·¨ÖвÉÓÃʼþÊÊÅäÆ÷À´ÊµÏÖ£º
this.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
&nbs ......
Ò» ÎÊÌâµÄÌá³ö
JavaµÄÒ»¸öÖØÒªÓŵã¾ÍÊÇͨ¹ýÀ¬»øÊÕ¼¯Æ÷(Garbage Collection£¬GC)×Ô¶¯¹ÜÀíÄÚ´æµÄ»ØÊÕ£¬³ÌÐòÔ±²»ÐèҪͨ¹ýµ÷Óú¯ÊýÀ´ÊÍ·ÅÄÚ´æ¡£Òò´Ë£¬ºÜ¶à³ÌÐòÔ±ÈÏΪJava²»´æÔÚÄÚ´æÐ¹Â©ÎÊÌ⣬»òÕßÈÏΪ¼´Ê¹ ÓÐÄÚ´æÐ¹Â©Ò²²»ÊdzÌÐòµÄÔðÈΣ¬¶øÊÇGC»òJVMµÄÎÊÌâ¡£Æäʵ£¬ÕâÖÖÏë·¨ÊDz»ÕýÈ·µÄ£¬Òò ......