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
Ïà¹ØÎĵµ£º
SAMPLE£º
import java.util.Properties;
Properties props=System.getProperties(); //»ñµÃϵͳÊôÐÔ¼¯
String osName = props.getProperty("os.name"); //²Ù×÷ϵͳÃû³Æ
String osArch = props.getPropert ......
8.9.3 ³éÏóÀàºÍ½Ó¿ÚµÄ±È½Ï
³éÏóÀàºÍ½Ó¿Ú¶¼ÊǽøÐÐÃæÏò¶ÔÏóÉè¼ÆʱרÓõÄÉè¼Æ½á¹¹£¬ÔÚʵ¼Ê½øÐÐÏîÄ¿Éè¼Æʱ£¬¾³£ÐèÒª¿¼ÂǵÄÎÊÌâ¾ÍÊÇ——“ʹÓóéÏóÀ໹Êǽӿڔ£¿ÏÂÃæͨ¹ý¶ÔÓÚ³éÏóÀàºÍ½Ó¿Ú½øÐмòµ¥µÄ±È½Ï£¬ÊìϤÁ½ÕßÖ®¼äµÄÇø±ðºÍÁªÏµ£¬´Ó¶øÔÚʵ¼ÊÉè¼ÆÊ±Ê ......
Ñ¡ÔñÌâ
3ÔĶÁһϳÌÐò£º
Boolean a=false;
Boolean b=true;
Boolean c=(a&b)&&(!b);
Int result=b==false?1:2;
Õâ¶Î³ÌÐòÖ´ÐÐÍêºó£¬cÓëresultµÄÖµÊÇ£¨D£©¡£
A c=false; result=1; B. c=true;result=2;
C£®c=true;result=1 D. c=false; result=2
6.ÏÂÊöÉùÃ÷ÖÐÄÄÖÖ¿É·À ......
[תÌû]Javaѧϰ֮·£º²»×ßÍä·£¬¾ÍÊǽݾ¶
2007-04-11 16:10
ÔÚChinaITLABµ¼Ê¦ÖƸ¨µ¼ÖУ¬±ÊÕß·¢ÏÖÎʵÃ×î¶àµÄÎÊÌâĪ¹ýÓÚ"ÈçºÎѧϰ±à³Ì£¿Java¸ÃÈçºÎѧϰ£¿"¡£ÀàËƵÄÎÊÌâ»Ø´ð¶àÁË£¬ÄÑÃâ»á¸Ð¾õÑá·³£¬¾ÍÃÈÉúÁËдϱ¾ÎĵÄÏë·¨¡£µ½Ê±ºòÔÙÓÐÈËÎÊÆðÀàËƵÄÎÊÌ⣬ÎÒ¿ÉÒÔ¸æËßËû£¨Ëý£©£¬ÇëÄãÈ¥¿´¿´¡¶Javaѧϰ֮·¡·¡£°Ý¶Á¹ý̨Íå²ÌѧïÞÏÈ ......
ÔÚÎÒ»úÆ÷ÉÏ°²×°µÄÊÇJDK6£¬ÏÂÔØactiveMQ5.3Æô¶¯Ê±±¨´í£¬Ìáʾjaxb°üÒѾ¼ÓÔØ2.0°æ±¾ÎÞ·¨¼ÓÔØ2.1°æ±¾¡£
ÎÒͨ¹ýÍøÂçËÑË÷ÁËһϷ¢ÏÖ£¬jaxb2.0ÊÇJDK·¢²¼Ê±°üº¬ÔÚrt.jar°üÖеġ£µ«ÊÇactiveMQ5.3È´ÐèÒª2.1°æ±¾¡£Õâ¸ÃÈçºÎ´¦Àí£¿
×ܲ»Äܽ«rt.jar°ü½â¿ª£¬½«jaxb2.1µÄÀา¸Ç½øÈ¥£¬ÔÙÖØдò°ü°É¡£ÕâÑùÌ«Âé·³ÁË¡£
ÔٴνøÐÐÍøÂçËÑË÷£¬·¢ ......