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

ΪʲôJAVAҪʹÓõ¥¼Ì³ÐÌåϵ

´ó¼Ò¶¼ÖªµÀJAVAÖÐʹÓÃOBJECT×÷ΪΨһµÄ»ùÀà¡£µ«ÊÇJAVAµÄÉè¼ÆÕßΪʲôҪÕâÑù×öÄØ£¿ÖضÁ¡¶TTHINKING IN JAVA¡·£¬µÃ³öÒÔÏÂÔ­Òò£º
1£¬JAVAÊÇ´¿ÃæÏò¶ÔÏóµÄÓïÑÔ¡£µ¥¼Ì³ÐÌåϵ±£Ö¤ÁËËùÓÐн¨µÄ»òJDKÖÐÒÑÓеÄÀ඼±ØÐë¼Ì³Ð×ÔOBJECT¡£ÕâÑù£¬±£Ö¤ÁËËùÓеÄÀ඼¾ßÓÐһЩ»ù±¾µÄ·½·¨¡£ÀýÈçÒ»¸öString¶ÔÏóÓÐtoString()·½·¨£¬ÁíÍâÒ»¸öMath¶ÔÏóÒ²ÓÐÕâ¸ö·½·¨£¬²»ÐèҪΪÿ¸ö¶ÔÏó¶¼È¥Ð´Ò»¸öÕâÑùµÄ·½·¨¡£
2£¬javaÖÐÓиöÀ¬»ø»ØÊÕÆ÷»úÖÆ£¬µ±Ò»¸ö¶ÔÏó²»ÔÙ±»ÐèҪʱ£¬ÓÉÀ¬»ø»ØÊÕÆ÷»ØÊÕ²¢Ïú»ÙÕâ¸ö¶ÔÏó£¬ÊÍ·ÅËüÕ¼ÓõÄÄÚ´æ¿Õ¼ä¡£¶øµ¥¼Ì³ÐÌåϵÈÃÀ¬»ø»ØÊÕÆ÷µÄʵÏÖ±äµÃ¼òµ¥¶àÁË¡£ÕâÔµÓÚÿ¸ö¶ÔÏ󶼾ßÓдÓOBJECT¼Ì³Ð¶øÀ´µÄfinalize
()
·½·¨¡£
3£¬OBJECTÖÐÓиögetClass()·½·¨£¬µÃµ½¶ÔÏóµÄÔËÐÐʱÀà¡£ÕâÑù¾Í±£Ö¤ÁËÿ¸öJAVA¶ÔÏó¶¼ÔÚÔËÐÐʱ¾ßÓÐÒ»¸öÔËÐÐʱÀàµÄÐÅÏ¢¡£
4£¬ÓÐÀûÓÚÈÝÆ÷µÄ¸´Óá£JAVAÉè¼ÆÈÃÈÝÆ÷¿ÉÒÔ´æ´¢OBJECT£¬ÕâÒ²¾ÍÒâζ×Å¿ÉÒÔ´æ´¢ÆäËüÈκÎÀàÐÍ¡£µ±È»£¬Éæ¼°µ½ÈÝÆ÷´æ´¢£¬Óиö¶ÔÏóµÄÏòÉÏתÐͺÍÏòÏÂתÐÍ¡£¾ßÌå¹ý³ÌÊÇÕâÑùµÄ£ºÎÒÃÇ·ÅÈëÈÝÆ÷Öеģ¬ÆäʵÊǶÔÏóµÄÒýÓ㬵«ÊÇÓÉÓÚÈÝÆ÷Ö»´æ´¢OBJECT¶ÔÏó£¬ËùÒÔËùÓеĶÔÏóÒýÓö¼Òª±»ÏòÉÏתÐÍΪOBJECT£¬µ«ÊÇÔÚ´ÓÈÝÆ÷ÖÐÈ¡³ö¶ÔÏóµÄʱºò£¬Ëù»ñÈ¡µ½µÄ£¬ÆäʵÊǶÔÒ»¸öOBJECT¶ÔÏóµÄÒýÓ㬶ø²»ÊÇ·ÅÈëµÄʱºòµÄÄǸöÀàÐ͵ĶÔÏóµÄÒýÓã¬Õâʱºò£¬¾Í±ØÐëÓõ½ÏòÏÂתÐÍ¡£¶øÏòÏÂתÐÍÊÇÎÞ·¨±£Ö¤°²È«µÄ£¬ÕâÀï¾ÍÓõ½ÁË·ºÐ͵ĸÅÄî¡£ÕâÒ²ÊÇJDK5µÄÐÂÌØÐÔÖ®Ò»¡£
5£¬OBJECTÌṩÁËÆäËü±ãÀûºÍ³£Óõķ½·¨£¬Èçclone()¡£
ÔÝʱֻÏëµ½Õâô¶à¡£


Ïà¹ØÎĵµ£º

ÓÃRobotдJava´úÀí

ÓÃRobotдJava´úÀí
Rational RobotÊÇͨ¹ý¼ÖÆÓû§²Ù×÷½øÐй¦ÄÜ£¬ÐÔÄܺͼæÈÝÐÔ²âÊÔµÄ×Ô¶¯»¯²âÊÔ¹¤¾ß¡£Í¨¹ý»Ø·Å¼Öƽű¾½øÐй¦ÄܺͿɿ¿ÐÔ²âÊÔ¡£±¾ÎÄÖ÷Òª½éÉÜRational RobotÕë¶Ôjava³ÌÐòºÍappletsÈçºÎ½øÐй¦ÄܲâÊÔ¡£
Rational Robotµ±Ç°°æ±¾Ö§³ÖÓÃÒÔÏÂÀà¿â¿ª·¢µÄJava³ÌÐòºÍapplet³ÌÐò£º
lJava Foundation Classes(JFCs)
l ......

javaµ÷ÓÃhttpsµÄwebservice£¬httpsµÄwsdl

javaµ÷webServiceÌ«Õý³£ÁË¡£¡£¡£
ÔÚµ÷ÓÃhttpsµÄwebServiceµÄʱºò¼¸ÖÖ³£Óõķ½·¨»á³öÏÖ°²È«´íÎ󣬺ܶàÈË˵µÄÊÇÔÚjreÀïÃæ×°Ö¤Êé¡£¡£¡£ÄÇҲ̫ÓôÃÆÁË°É
ÕâÀïÌṩһÖÖ²»ÓÃÖ¤ÊéµÄ·½Ê½
¶Ô·½webServiceÌṩµÄ½Ó¿Ú£¬Õâ¸öÄãÓ¦¸ÃÒªÖªµÀµÄ°É£¬²»ÖªµÀµÄ»°¾Íwsdl×Ô¼º»¹Ô­
Java´úÂë
/**  
 * XXXµÄwebService½Ó¿ ......

javaѧϰ²½Öè javaѧϰÐĵÃ

ÿ¸öÈ˵Äѧϰ·½·¨ÊDz»Í¬µÄ£¬Ò»¸öÈ˵ķ½·¨²»¼ûµÃÊʺÏÁíÒ»¸öÈË£¬ÎÒÖ»ÄÜÊÇ̸×Ô¼ºµÄѧϰ·½·¨¡£ÒòΪÎÒѧϰJavaÊÇÍêÈ«×ÔѧµÄ£¬´ÓÀ´Ã»ÓÐÎʹý±ðÈË£¬ËùÒÔѧϰµÄ¹ý³Ì»ù±¾ÉÏÍêÈ«ÊÇ×Ô¼ºÃþË÷³öÀ´µÄ¡£ÎÒÒ²²»ÖªµÀÕâÖÖ·½·¨ÊÇ·ñÊDZȽϺõķ½·¨£¬Ö»Äܸø´ó¼ÒÌṩһµã²Î¿¼ÁË¡£
ѧϰJavaµÄµÚÒ»²½ÊÇ°²×°ºÃJDK£¬Ð´Ò»¸öHello World£¬ ÆäʵJ ......

java webÖж¨Ê±Æ÷µÄÔËÓÃ

     ÔÚ×öweb¿ª·¢µÄʱºò£¬¾­³£ÐèÒªÔÚÒ»¶¨µÄʱ¼äÈ¥¸úÐÂijЩ¶«Î÷£¬»òÊǼÓÔØijЩ¶«Î÷£¬Õâ¾ÍÓõ½Á˶¨Ê±Æ÷¡£
µ±Web¹¤³ÌÆô¶¯Ê±£¬¶¨Ê±Æ÷ÄÜ×Ô¶¯¿ªÊ¼¼Æʱ£¬ÔÚÕû¸öWeb¹¤³ÌµÄÉúÃüÆÚÀ¶¨Ê±Æ÷ÿ¹ýÒ»¶Îʱ¼ä¾ÍÖ´ÐÐÒ»´Î£¬ËùÒÔ¿¼ÂǶ¨Ê±Æ÷´æ·ÅµÄλÖá£
¶¨Ê±Æ÷¿Ï¶¨²»Äܲ»Äܼòµ¥µÄ´æÔÚÓÚµ¥¸öServlet»òJavaBeanÖУ¬±ØÐëÄ ......

javaµÄcp²ÎÊýʹÓÃ


java -cp .;c:\dir1\lib.jar Test
-cp ºÍ -classpath Ò»Ñù£¬ÊÇÖ¸¶¨ÀàÔËÐÐËùÒÀÀµÆäËûÀàµÄ·¾¶£¬Í¨³£ÊÇÀà¿â£¬jar°üÖ®À࣬ÐèҪȫ·¾¶µ½jar°ü£¬windowÉϷֺœ;”
·Ö¸ô£¬linuxÉÏÊǷֺœ:”·Ö¸ô¡£²»Ö§³ÖͨÅä·û£¬ÐèÒªÁгöËùÓÐjar°ü£¬ÓÃÒ»µã“.”´ú±íµ±Ç°Â·¾¶¡£
ËäÈ»ÏÖÔÚ¶¼ÓÐeclipseÖ®ÀàµÄIDE ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ