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

j2se·Ç³£¾­µäµÄÌâÄ¿ javaÏ°ÌâÓë½â´ð

ÅжÏÌ⣺ÉùÃ÷int a = 10; ÅжÏÒÔÏÂ3¸öÔËËãÊÇ·ñÄܹ»·Ö±ðͨ¹ýJava±àÒëÆ÷£º
a = a/2;  a = a/3;  a = a*2.89;
½â£ºa = a*2.89;²»ÐУ¬a*2.89ÔËËã»áÌáÉý³ÉdoubleÀàÐÍ
Êý×éÓÐûÓÐlength()Õâ¸ö·½·¨? StringÓÐûÓÐlength()Õâ¸ö·½·¨£¿
½â£ºÊý×éûÓÐlength()Õâ¸ö·½·¨£¬ÓÐlengthµÄÊôÐÔ¡£
¡¡¡¡ StringÓÐÓÐlength()Õâ¸ö·½·¨¡£
short s1 = 1; s1 = s1 + 1;ÓÐʲô´í? short s1 = 1; s1 += 1;ÓÐʲô´í?
short s1 = 1; s1 = s1 + 1;ÓÐ´í£¬s1ÊÇshortÐÍ£¬s1+1ÊÇintÐÍ,²»ÄÜÏÔʽת»¯ÎªshortÐÍ¡£¿ÉÐÞ¸ÄΪs1 =(short)(s1 + 1) ¡£short s1 = 1; s1 += 1ÕýÈ·¡£
½Ó¿ÚÊÇ·ñ¿É¼Ì³Ð½Ó¿Ú? ³éÏóÀàÊÇ·ñ¿ÉʵÏÖ(implements)½Ó¿Ú? ³éÏóÀàÊÇ·ñ¿É¼Ì³ÐʵÌåÀà(concrete class)?
½â£º½Ó¿Ú¿ÉÒԼ̳нӿڡ£³éÏóÀà¿ÉÒÔʵÏÖ(implements)½Ó¿Ú£¬³éÏóÀàÊÇ·ñ¿É¼Ì³ÐʵÌåÀ࣬µ«Ç°ÌáÊÇʵÌåÀà±ØÐëÓÐÃ÷È·µÄ¹¹Ô캯Êý¡£
ÊÇ·ñ¿ÉÒԼ̳ÐStringÀà?
½â£ºStringÀàÊÇfinalÀà¹Ê²»¿ÉÒԼ̳С£
try {}ÀïÓÐÒ»¸öreturnÓï¾ä£¬ÄÇô½ô¸úÔÚÕâ¸ötryºóµÄfinally {}ÀïµÄcode»á²»»á±»Ö´ÐУ¬Ê²Ã´Ê±ºò±»Ö´ÐУ¬ÔÚreturnÇ°»¹ÊǺó?
½â£º»áÖ´ÐУ¬ÔÚreturnÇ°Ö´ÐÐ
swtichÊÇ·ñÄÜ×÷ÓÃÔÚbyteÉÏ£¬ÊÇ·ñÄÜ×÷ÓÃÔÚlongÉÏ£¬ÊÇ·ñÄÜ×÷ÓÃÔÚStringÉÏ?
½â£ºswitch£¨expr1£©ÖУ¬expr1ÊÇÒ»¸öÕûÊý±í´ïʽ¡£Òò´Ë´«µÝ¸ø switch ºÍ case Óï¾äµÄ²ÎÊýÓ¦¸ÃÊÇ int¡¢ short¡¢ char »òÕß byte¡£long,string ¶¼²»ÄÜ×÷ÓÃÓÚswtich¡£
×÷ÓÃÓòpublic,private,protected,ÒÔ¼°²»Ð´Ê±µÄÇø±ð
´ð£ºÇø±ðÈçÏ£º
×÷ÓÃÓò           µ±Ç°Àà       ͬһpackage  ×ÓËïÀà       ÆäËûpackage
public            √                     √                  √              √
protected        √                    &r


Ïà¹ØÎĵµ£º

javaÃæÊÔÌâ »ù´¡Æª£¨1£©

1 Áо٠10¸öjavaÓïÑÔµÄÓÅÊÆ
        Ãâ·Ñ£¬¿ªÔ´£¬¿çƽ̨£¬¼òµ¥Ò×Ó㬹¦ÄÜÍêÉÆ£¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔ£¬¶àỊ̈߳¬½á¹¹ÖÐÁ¢£¬
  ÆóÒµÓ¦ÓõijÉÊìƽ̨£¬ÎÞÏßÓ¦Óá£
2 ÁоÙjavaÖÐ 10¸öÃæÏò¶ÔÏó±à³ÌµÄÊõÓï
     °ü£¬À࣬ʵÀý£¬·â×°£¬¼Ì³Ð£¬¶à̬£¬ÖØÔØ£¬ÖØд£¬¶Ô ......

ÅäÖÃJAVA¿ª·¢»·¾³

Ê×ÏȽéÉÜһϻ·¾³±äÁ¿µÄÉèÖ÷½·¨£º
£¨ÕâÀïÒÔjdk1.5À´°²×°£¬ÆäËû°æ±¾Ò»Ñù£©
ÔÚ°Ñjdk1.5°²×°µ½¼ÆËã»úÖÐÖ®ºó£¬ÎÒÃÇÀ´½øÐÐÉèÖÃʹjava»·¾³Äܹ»Ê¹Óá£
         Ê×ÏÈÓÒ¼üµãÎҵĵçÄÔ¡£´ò¿ªÊôÐÔ¡£È»ºóÑ¡Ôñ“¸ß¼¶”ÀïÃæµÄ“»·¾³±äÁ¿”£¬ÔÚеĴò¿ª½çÃæÖеÄϵͳ±äÁ¿Ð ......

ÈçºÎÒÔJavaʵÏÖÍøÒ³½Øͼ¼¼Êõ

½ñÌì¿´µ½Ä³ÍøÓѹØÓÚ“ÈçºÎÒÔJavaʵÏÖÍøÒ³½Øͼ¼¼Êõ”µÄ×ÉѯÌû£¬ÓÉÓÚ³öÏÖ¸Ã×ÉѯµÄµØµã·Ç³£²»ÊʺϽϳ¤»Ø¸´£¬¹ÊÒÔ²©ÎÄÐÎʽ»Ø´ð¡£
ÊÂʵÉÏ£¬Èç¹ûÄúÏëÒÔJavaʵÏÖÍøÒ³½Øͼ£¬Ò²¾ÍÊÇ“ÊäÈëÒ»¶ÎÍøÖ·£¬¼¸ÃëÖÓ¹ýºó¾ÍÄܽØÈ¡Ò»ÕÅÍøÒ³ËõÂÔͼ”µÄЧ¹û¡£ÄÇô£¬ÄúÖÁÉÙÓÐ3ÖÖ·½Ê½¿ÉÒÔÑ¡Ôñ¡£
1¡¢×îÖ±½ÓµÄ·½Ê½—— ......

javaÖÐËÄÖÖ²Ù×÷xml·½Ê½µÄ±È½Ï

   1£©DOM£¨JAXP Crimson½âÎöÆ÷£©
    DOMÊÇÓÃÓëƽ̨ºÍÓïÑÔÎ޹صķ½Ê½±íʾXMLÎĵµµÄ¹Ù·½W3C±ê×¼¡£DOMÊÇÒÔ²ã´Î½á¹¹×éÖ¯µÄ½Úµã»òÐÅϢƬ¶ÏµÄ¼¯ºÏ¡£Õâ¸ö²ã´Î½á¹¹ÔÊÐí¿ª·¢ÈËÔ±ÔÚÊ÷ÖÐÑ°ÕÒÌض¨ÐÅÏ¢¡£·ÖÎö¸Ã½á¹¹Í¨³£ÐèÒª¼ÓÔØÕû¸öÎĵµºÍ¹¹Ôì²ã´Î½á¹¹£¬È»ºó²ÅÄÜ×öÈκι¤×÷¡£ÓÉÓÚËüÊÇ»ùÓÚÐÅÏ¢²ã´ÎµÄ£¬Òò¶øDO ......

JAVA¹æÔò »ù´¡Æª

±¾ÎĽéÉܵÄJAVA¹æÔòµÄ˵Ã÷·ÖΪ5¸ö¼¶±ð£¬¼¶±ð1ÊÇ×î»ù±¾Ò²ÊÇ×îÖØÒªµÄ¼¶±ð£¬ÔÚ½ñºó½«Â½Ðøд³öÆäËûµÄ¹æÔò¡£×ñÊØÁËÕâЩ¹æÔò¿ÉÒÔÌá¸ß³ÌÐòµÄЧÂÊ¡¢Ê¹´úÂëÓиüºÃµÄ¿É¶ÁÐԵȡ£
£¨1£©    ±ÜÃâʹÓÃNEW¹Ø¼ü×ÖÀ´´´½¨String¶ÔÏó¡£
°ÑÒ»¸öString³£Á¿copyµ½String ¶ÔÏóÖÐͨ³£ÊǶàÓà¡¢ÀË·Ñʱ¼äµÄ
Public class test{
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ