java»·¾³ÅäÖÃ
cmd
set path=javacËùÔÚÎļþ¼Ð£¨²»°üÀ¨javac)
ÔÚÈÎÒâÎļþ¼ÐÏÂÖ±½ÓʹÓÃjavac.exe,µ«µ±cmd ¹Ø±Õʱ£¬¾Í²»ÔÙÆð×÷ÓÃ
set classpath=...
×÷ÓÃ:ÔÚÈÎÒâÎļþ¼ÐÏÂÖ±½ÓʹÓÃ.classÎļþ£¬µ«µ±cmd ¹Ø±Õʱ£¬¾Í²»ÈðÆð×÷ÓÃ
²é¿´£ºset pathh; set classpath
ÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿ÉèÖÃ
Óû§±äÁ¿£º
±äÁ¿Ãû£ºclasspath
±äÁ¿Öµ£º×Ô¼ºclassÎļþµÄµØÖ·(Àý£º.;d:\java)
×÷ÓÃ:ÔÚÈÎÒâÎļþ¼ÐÏÂÖ±½ÓʹÓÃ.classÎļþ
ϵͳ±äÁ¿£º
±äÁ¿Ãû£ºpath
±äÁ¿Öµ£º×Ô¼ºjavacÎļþµÄµØÖ·(C:\Sun\SDK\jdk\bin;·ÅÔÚ×îÇ°Ãæ)
×÷ÓãºÔÚÈÎÒâÎļþ¼ÐÏÂÖ±½ÓʹÓÃjavac.exe
ÔÚDOSÏ£¬Ìí¼ÓеÄclasspath
set classpath=%classpath%;D\...\;
ÆäÖУ¬%classpath%;±íʾÔÀ´µÄ·¾¶
Ïà¹ØÎĵµ£º
1. ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ£¨OOAOOD£©¡¢É漰ģʽ£¨GOF£¬J2EEDP£©ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÁ˽âUML£¬ÓÈÆäÊÇclass¡¢object¡¢interactionÒÔ¼°statediagrams. ¡¡¡¡2. ÄãÐèҪѧϰJavaÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â£¨collections¡¢serialization¡¢streams¡¢networking¡¢multithreading¡¢reflection¡¢event¡¢handling¡¢N ......
JAVAרҵÊõÓO
API£ºJava ApplicationProgrammingInterface API£¨Ó¦ÓóÌÐò½Ó¿Ú£©ÊÇÊÂÏÈдºÃµÄ´úÂë,
×éÖ¯µ½Ïà¹Ø°ü¡£ÀýÈç Applet ºÍ AWT °ü°üÀ¨½¨Á¢×ÖÌå¡¢²Ëµ¥¡¢°´Å¥µÄÀࣨCLASS£©£¬
È«²¿µÄJava API±»°üº¬ÔÚJavaTM 2 Stan ......
Vector : »ùÓÚArrayµÄList£¬Æäʵ¾ÍÊÇ·â×°ÁËArrayËù²»¾ß±¸µÄһЩ¹¦ÄÜ·½±ãÎÒÃÇʹÓã¬Ëü²»¿ÉÄÜ×ßÈëArrayµÄÏÞÖÆ¡£ÐÔÄÜÒ²¾Í²»¿ÉÄÜ
³¬Ô½Array¡£ËùÒÔ£¬ÔÚ¿ÉÄܵÄÇé¿öÏ£¬ÎÒÃÇÒª¶àÔËÓÃArray¡£ÁíÍâºÜÖØÒªµÄÒ»µã¾ÍÊÇVector“sychronized”µÄ£¬Õâ¸öÒ²ÊÇVectorºÍ
ArrayListµÄΨһµÄÇø±ð¡£
ArrayList£ºÍ¬VectorÒ»ÑùÊÇÒ»¸ö»ùÓ ......
packageµÄÃüÃû package µÄÃû×ÖÓÉÈ«²¿Ð¡Ð´µÄ×Öĸ×é³É£¬ÀýÈ磺cn.mybole¡£
classºÍinterfaceµÄÃüÃû classºÍinterfaceµÄÃû×ÖÓÉ´óд×Öĸ¿ªÍ·¶øÆäËû×Öĸ¶¼Ð¡Ð´µÄµ¥´Ê×é³É£¬ÀýÈ磺Person£¬RuntimeException¡£
class±äÁ¿µÄÃüÃû ±äÁ¿µÄÃû×ÖÓÃÒ»¸öСд×Öĸ¿ªÍ·£¬ºóÃæµÄµ¥´ÊÓôóд×Öĸ¿ªÍ·,ÀýÈ磺index£¬currentImage¡£
clas ......