Javaϸ½Ú£¨1£©
1 JavaÊý¾ÝÀàÐÍÓÐ2ÖÖ¡££¨1£©»ù±¾Êý¾ÝÀàÐÍ£¨2£©ÒýÓÃÊý¾ÝÀàÐÍ
»ù±¾Êý¾ÝÀàÐÍ¢Ù²¼¶ûÐÍ boolean 1×Ö½Ú
¢Ú×Ö·ûÐÍ char 2×Ö½Ú
¢Û×Ö½ÚÀàÐÍ byte 1×Ö½Ú
¢Ü¶ÌÕûÐÍ short 2×Ö½Ú
¢ÝÕûÐÍ int 4×Ö½Ú
¢Þ³¤ÕûÐÍ long 8×Ö½Ú
¢ßµ¥¾«¶È¸¡µãÐÍ float 4×Ö½Ú
¢àË«¾«¶È¸¡µãÐÍ double 8×Ö½Ú
ÒýÓÃÊý¾ÝÀàÐÍ¢ÙÀà
¢Ú½Ó¿Ú
¢ÛÊý×é
2 ½á¹¹»¯³ÌÐòÉè¼Æ = Êý¾Ý + ²Ù×÷ + Á÷³Ì¿ØÖ
Ïà¹ØÎĵµ£º
ÒòΪ´óËÄÁ˾ÍÒª¶ÁÑÐÁË£¬±¾¿ÆÆÚ¼ä×ö¹ýµÄСÏîÄ¿´ó¶¼ÊÇ»ùÓÚ.NetµÄ£¬ËüÌṩÁËÌ«ÓÅÔ½µÄ¿ª·¢»·¾³£¬µ¼ÖÂ×ÔÉíˮƽÌá¸ßÓÐÏÞ¡£
¿ìÒª¶ÁÑÐÁË£¬¾ÝÁ˽âÑо¿ÉúÆڼ䣬Ö÷Òª¶¼ÊÇJ2EEµÄÏîÄ¿£¬ËùÒÔ×¼±¸ÖØÐÂ×ÔѧJava£¬²¢³¢ÊÔ»ùÓÚJ2EE×öµã¶«Î÷¡£
Ê×ÏȽèÁ˱¾JavaµÄÊ飬×Ô¼ºÒ²ÓÐJavaµÄÊ飬²»¹ý×Ô¼º¸Ð¾õ¸üÔ¸Òâ¿´Íâ¹úµÄÊ飬ÒòÎ ......
±¾ÈË֮ǰ×öµÄÏîÄ¿ÖлýÀÛ³£ÓõÄʱ¼ä·½·¨£¬Ìù³öÀ´Óë´ó¼Ò¹²Ïí£¬Èç¹ûÄÄÀïÓдíÎó»ò¸üÓÐЧµÄ·½·¨Ç뾡¹ÜÅÄש£¡¹þ¹þ
Java´úÂë
package com.hefeng.test;
import java.text.DateFormat;
import java.text.ParsePosition;
import&n ......
ÔÎĵØÖ·£ºhttp://hi.baidu.com/lin_zy/blog/item/bf14d21f6bb12ff6e1fe0bf1.html
¸ÅÄî
ʲôÊÇÒì³££¿
Òì³££¨exception£©Ó¦¸ÃÊÇÒ쳣ʼþ£¨exceptional event£©µÄËõд¡£
Òì³£¶¨Ò壺Òì³£ÊÇÒ»¸öÔÚ³ÌÐòÖ´ÐÐÆڼ䷢ÉúµÄʼþ£¬ËüÖжÏÕýÔÚÖ´ÐеijÌÐòµÄÕý³£µÄÖ¸ÁîÁ÷¡£
µ±ÔÚÒ»¸ö·½·¨Öз¢Éú´íÎóµÄʱºò£¬Õâ¸ö·½·¨´´½¨Ò»¸ö¶ÔÏ󣬲¢ÇÒ ......
1. Êý×éÓÐûÓÐlength()Õâ¸ö·½·¨? StringÓÐûÓÐlength()Õâ¸ö·½·¨£¿
´ð£ºÊý×éûÓÐlength()Õâ¸ö·½·¨£¬ÓÐlengthµÄÊôÐÔ¡£
StringÓÐlength()Õâ¸ö·½·¨¡£
2. String s = new String("xyz") ......