JavaÿÌìѧϰһµãµã 09.10.14
²»»ýõͲ½ÎÞÒÔÖÁǧÀï,²»»ýСÁ÷ÎÞÒԳɽºÓ.
1¡¢ javaÎļþÖбØÐëÒªÓÐÀ࣬¹¦ÄÜÐԵķ½·¨Òª·Åµ½mainº¯ÊýÖС£Ìرð×¢Ò⣬ÔÚ±àд´úÂëµÄ¹ý³ÌÖУ¬MainºÍmainÊDz»Í¬µÄ£¬ÑϸñÇø·Ö´óСд¡£»¹ÈÝÒ׳ö´íµÄÊÇString[] args £¬ÈÝÒ×д³Éstring[] args¡£
2¡¢ Ö´ÐоßÌ幦ÄܵÄÓï¾äÐèÒª·ÖºÅ½áβ¡£Óà + Ðø½Ó £¬×Ö·û´®ÏàÁ¬¡£// (×¢ÊÍÒ»ÐÐ) ¡¢ /* */£¨¿É×¢ÊÍÒ»¶Î£©¡£
3¡¢ JavaûÓÐSizeof¡¢goto¡¢const×ö¹Ø¼ü×Ö£¬goto constÒ²²»ÄÜ×÷Ϊ¹Ø¼ü×Ö¡£
4¡¢ ³£Á¿£ºµ±ÎÒÃÇÊäÈë5.1ʱ£¬½«»áÔÚÄÚ´æÖÐÕ¼ÓÃ8¸ö×Ö½Ú£¬ÕâÊÇÒ»¸ödoubleÀ࣬ÊÇĬÈϵġ£
Èç¹ûÎÒÃÇÐèÒªµ¥¾«¶È5.1£¬ÄÇô¾ÍҪдΪ5.1F¡£
²¼¶ûÖµ£¬Ö»ÓÐtrueºÍflase£¬Ã»ÓÐ0£¨false£©£¬·ÇÁ㣨true£©Ö®Ëµ¡£
5¡¢PathÖ¸¶¨ÃüÁîËùÔÚĿ¼£¬classpathÊÇÖ¸¶¨javaÀàËùÔÚĿ¼¡£
Ïêϸ˵һÏ£¬path£¬Ò²¾ÍÊǵ±ÃüÁîÐÐÖÐÊäÈëjavacÃüÁîʱ£¬µçÄÔ»á×Ô¶¯µ½pathĿ¼ËÑË÷¸ÃÃüÁî¡£Classpath Ö¸µÄÊÇjavaÀàÎļþĿ¼£¬µ±ÐÂдµÄjavaÎļþ£¬Í¨¹ý±àÒ뵫ÊÇ¿¨ÔÚÔËÐÐʱ£¬Ó¦¸Ã¿¼ÂÇÒ»ÏÂÊDz»ÊÇclasspathÉèÖõÄÎÊÌ⣬һ°ã .£¨µã£©¾ÍÊÇÖ¸µÄµ±Ç°ÎļþĿ¼Ï£¨¾ÍÊǵ±Ç°±àдµÄ *.javaÎļþËùÔÚĿ¼£© ¡£
Ïà¹ØÎĵµ£º
Ò»¡¢JavaÔËÐÐʱµÄÁ½ÖÖºËÐÄ»úÖÆ
£¨1£©JavaÐéÄâ»ú£¨Java Virtual Machine£©
ÓÃÀ´´¦ÀíJavaÔ´Îļþ±àÒëºóµÄ×Ö½ÚÂ룬ÆÁ±Îµ×²ãÔËÐÐƽ̨µÄ²îÒ죬ʵÏÖ“Ò»´Î±àÒ룬Ëæ´¦Ö´ÐД£¬¶øÇÒ²»Í¬µÄÔËÐÐÆ ......
public class DateTest {
public static void main(String[] args) {
Date date = new Date(); // н¨Ò»¸öÈÕÆÚ
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); // ¸ñʽ»¯ÈÕÆÚ
String beforeDate = sdf.format(getDateBefore(date, 10));
System ......
¡¶javaÓïÑÔ³ÌÐòÉè¼Æ£¨Ò»£©¡·2009Äê×Ôѧ¿¼ÊÔ´ó¸ÙµÚ6ÕÂ
www.wesiedu.com 2009-5-5 ÔÚÏßÄ£Ä⿼³¡
µÚ6Õ ͼÐνçÃæÉè¼Æ(¶þ)
(Ò»)¿Î³ÌÄÚÈÝ
6.1Ñ¡Ôñ¿òºÍµ¥Ñ¡°´Å¥
6.1.1Ñ¡Ôñ¿ò
6.1.2µ¥Ñ¡¿ò
6.1.3µ¥Ñ¡°´Å¥
6.1.4Ñ¡ÔñÏîĿʼþ´¦Àí
6.2ÁбíºÍ×éºÏ¿ò
6.2.1Áбí
6.2.2×éºÏ¿ò
6.3²Ëµ¥
6.3.1²Ëµ¥Ìõ¡ ......
/*
±¾¶Î´úÂëÔÚ¹«Ë¾ÏîÄ¿ÖÐʵ¼ÊÔ¶³Ìµ÷ÓõÚÈý·½¹«Ë¾ÌṩµÄC#¿ª·¢WebServiceµÄʾÀý
*/
/**
* µÇ¼ÓÎÏ·
*
* @param paramPN
* @param paramTerraceID
* @param paramSvrID
*/
private String loginGame(String paramPN, HttpServletRequest req){
&n ......