JavaÓëC++µÄÇø±ð
JavaÓëC++×î´óµÄ²»Í¬µÄ£¬JavaÍêÈ«ÊÇÃæÏò¶ÔÏóµÄ£¬ÊÇÓÉÀ๹³ÉµÄ£¬¶øC++ÊÇÓɶÔÏóÓë¹ý³Ì×é³É¡£
1¡¢Â·¾¶£º
Java°üÀ¨Ò»¸ö°üpackage,C++ûÓУ»
2¡¢ÒýÈëÀà
java import.*.*; C++ include ""';
3¡¢Ô¤¶¨Ò壬
C++°üÀ¨Ô¤¶¨Ò壬Java²»°üÀ¨
4¡¢½á¹¹
C++°üÀ¨½á¹¹£¬JavaÖ»°üÀ¨À࣬½á¹¹Ìå¿ÉÒÔת»¯ÎªÀà¡£
5¡¢ÀàÃûÓëÎļþÃû
Java±ØÐëÓÐÒ»¸öÀàÃûÓëÎļþÃûÏàͬ£¬C++²»±Ø£¬C++°üÀ¨¶¨ÒåÓë˵Ã÷Îļþ£»
6¡¢main
JavaÖУ¬main°üÀ¨ÔÚÖ÷ÀàÖУ¬ÓÃstatic˵Ã÷£¬C++µ¥¶À
8¡¢·ÃÎÊ¿ØÖÆ
JavaÖÐÿ¸ö³ÉÔ±±äÁ¿Óë·½·¨Ó÷ÃÎÊ¿ØÖÆ×¢Ã÷£¬¶øC++¿ÉÒÔ¼¸¸ö³ÉÔ±±äÁ¿»ò·½·¨Ò»Æð×¢Ã÷£»
9¡¢¼Ì³Ð
JavaÓÃextends¼Ì³Ð£¬C++ÓÃ×ÓÀà:·½ÎÊ¿ØÖÆ ¸¸Àà
10¡¢ÊäÈëÊä³ö
C++ cin\ print\cout Java BufferReader bf=new BufferReader(InputStreamReader(System.in);
Integer.parseInt(bf.readLine);
System.out.println("The result you entered is:");
Ïà¹ØÎĵµ£º
java ´úÂëʵÏÖ
public static boolean isLetter(char c) {
int k = 0x80;
return c / k == 0 ? true : false;& ......
SCJP5ѧϰ±Ê¼Ç
Ï߳̽»»¥ÊDZȽϸ´ÔÓµÄÎÊÌ⣬SCJPÒªÇ󲻺ܻù´¡£º¸ø¶¨Ò»¸ö³¡¾°£¬±àд´úÂëÀ´Ç¡µ±Ê¹Óõȴý¡¢Í¨ÖªºÍ֪ͨËùÓÐÏ̡߳£
Ò»¡¢Ï߳̽»»¥µÄ»ù´¡ÖªÊ¶
SCJPËùÒªÇóµÄÏ߳̽»»¥ÖªÊ¶µãÐèÒª´Ójava.lang.Object
µÄÀàµÄÈý¸ö·½·¨À´Ñ§Ï°£º
void notify()
  ......
Data Type Ranges
C/C++ recognizes the types shown in the table below.
Type Name Bytes Other Names Range of Values
&nb ......
Java AppletÓëJava ApplicationµÄÇø±ð
ÔÚJavaÓïÑÔÖУ¬Äܹ»¶ÀÁ¢ÔËÐеijÌÐò³ÆΪJavaÓ¦ÓóÌÐò£¨Application£©¡£JavaÓïÑÔ»¹ÓÐÁíÍâÒ»ÖÖ³ÌÐò——Applet³ÌÐò¡£Applet³ÌÐò£¨Ò²³ÆJavaС³ÌÐò£©ÊÇÔËÐÐÓÚ¸÷ÖÖÍøÒ³ÎļþÖУ¬ÓÃÓÚÔöÇ¿ÍøÒ³µÄÈË»ú½»»¥¡¢¶¯»ÏÔʾ¡¢ÉùÒô²¥·ÅµÈ¹¦ÄܵijÌÐò¡£
Java Appletº ......