JavaÊÖ»ú¿ª·¢Æ½Ì¨ J2ME
J2ME£¬ÏÖ³ÆΪJava ME(Java Platform, Micro Edition )ÊÇΪ»ú¶¥ºÐ¡¢Òƶ¯µç»°ºÍPDAÖ®ÀàǶÈëʽÏû·Ñµç×ÓÉ豸ÌṩµÄJavaÓïÑÔƽ̨£¬°üÀ¨ÐéÄâ»úºÍһϵÁбê×¼»¯µÄJava API¡£ËüºÍJava SE¡¢Java EEÒ»Æð¹¹³ÉJava¼¼ÊõµÄÈý´ó°æ±¾£¬²¢ÇÒͬÑùÊÇͨ¹ýJCP£¨Java Community Process£©Öƶ©µÄ¡£
Ä¿Ç°½×¶Î£¬Java ME×îÁ÷ÐеÄÓ¦ÓÃÊÇÓÎÏ·Èí¼þ¡£ÒòΪÓëÐèÒª°º¹óµÄרÓÃÉ豸ºÍ¿ª·¢¹¤¾ßµÄ¾ºÕù¶ÔÊÖ£¨ÈçË÷ÄáºÍÈÎÌìÌã©Ïà±È£¬Java ME³ÌÐò¿ÉÒÔÔÚPC»úÉÏ¿ª·¢ºÍ·ÂÕæÔËÐУ¬È»ºóºÜÈÝÒ׵ز¿Êðµ½Ä¿±ê»úÉÏ£¬´Ó¶øʹÆ俪·¢¡¢²âÊԺͷ¢²¼µÄ±äµÃÈÝÒ׺ÍÁ®¼Û¡£Êµ¼ÊÉÏJava MEµÄÓÃ;ºÍÇ°¾°Òª¹ã·ºµÃ¶à¡£
ÓëJ2SEºÍJ2EEÏà±È£¬J2ME×ÜÌåµÄµÄÔËÐл·¾³ºÍÄ¿±ê¸ü¼Ó¶àÑù»¯£¬µ«ÆäÖÐÿһÖÖ²úÆ·µÄÓÃ;ȴ¸üΪµ¥Ò»£¬¶øÇÒ×ÊÔ´ÏÞÖÆÒ²¸ü¼ÓÑϸñ¡£ÎªÁËÔÚ´ïµ½±ê×¼»¯ºÍ¼æÈÝÐÔµÄͬʱ¾¡Á¿Âú×㲻ͬ·½ÃæµÄÐèÇó£¬J2MEµÄ¼Ü¹¹·ÖΪConfiguration¡¢ProfileºÍOptional Packages£¨¿ÉÑ¡°ü£©¡£ËüÃǵÄ×éºÏÈ¡ÉáÐγÉÁ˾ßÌåµÄÔËÐл·¾³¡£
ConfigurationÖ÷ÒªÊǶÔÉ豸×ÝÏòµÄ·ÖÀ࣬·ÖÀàÒÀ¾Ý°üÀ¨´æ´¢ºÍ´¦ÀíÄÜÁ¦£¬ÆäÖж¨ÒåÁËÐéÄâ»úÌØÐԺͻù±¾µÄÀà¿â¡£ÒѾ±ê×¼»¯µÄConfigurationÓÐ- Connected Limited Device Configuration£¨CLDC£©ºÍConnected Device Configuration(CDC)¡£
Profile½¨Á¢ÔÚConfiguration»ù´¡Ö®ÉÏ£¬Ò»Æð¹¹³ÉÁËÍêÕûµÄÔËÐл·¾³¡£Ëü¶ÔÉ豸ºáÏò·ÖÀ࣬Õë¶ÔÌض¨ÁìÓòϸ·ÖÊг¡£¬ÄÚÈÝÖ÷Òª°üÀ¨Ìض¨ÓÃ;µÄÀà¿âºÍAPI¡£CLDCÉÏÒѾ±ê×¼»¯µÄProfileÓÐMobile Information Device Profile ( MIDP)ºÍInformation Module Profile£¨IMP£©£¬¶øCDCÉϱê×¼»¯µÄProfileÓÐFoundation Profile(FP)¡¢Personal Basis Profile(PBP)ºÍPersonal Profile(PP)¡£
¿ÉÑ¡°ü¶ÀÁ¢ÓÚÇ°ÃæÁ½ÕßÌṩ¸½¼ÓµÄ¡¢Ä£¿é»¯µÄºÍ¸üΪ¶àÑù»¯µÄ¹¦ÄÜ¡£Ä¿Ç°±ê×¼»¯µÄ¿ÉÑ¡°ü°üÀ¨Êý¾Ý¿â·ÃÎÊ¡¢¶àýÌå¡¢À¶ÑÀµÈµÈ¡£
¿ª·¢Java ME³ÌÐòÒ»°ã²»ÐèÒªÌرðµÄ¿ª·¢¹¤¾ß, ¿ª·¢ÕßÖ»ÐèҪװÉÏJava SDK ¼°ÏÂÔØÃâ·ÑµÄ Sun Java Wireless Toolkit ¾Í¿ÉÒÔ¿ªÊ¼±àдJava ME³Ìʽ£¬±àÒë¼°²âÊÔ, ´ËÍâÄ¿Ç°Ö÷ÒªµÄIDE(Eclipse ¼° NetBeans)¶¼Ö§³Ö Java ME µÄ¿ª·¢,¸ö±ðµÄÊÖ»ú¿ª·¢ÉÌÈç Nokia ¼° Sony Ericsson ¶¼ÓÐ×Ô¼ºµÄSDK, ¹©¿ª·¢ÕßÔÚ¿ª·¢³ö¼æÈÝÓÚËûÃǵÄƽ̨µÄ³ÌÐò¡£
Ïà¹ØÎĵµ£º
Java: class , objects
1 Inheritance(¼Ì³Ð)µÄ¹Ø¼ü×Öextends
class MountainBike extends Bicycle {
}
µ«ÊDz»ÄܶàÖؼ̳С£²»¹ý¿ÉÒÔͨ¹ýimplements¶à¸öinterfaceÀ´ÊµÏÖÀàËƵĶ«Î÷
2 interface
interface Bicycle {
void changeCadence(int newValue); // wheel rev ......
ËùÐèjarÎļþΪ jxl.jar ¿ÉÒÔÔÚ´Ë»ñÈ¡£º http://www.uushare.com/user/sudyguo/files/2209594
ÕâÖÖ·½·¨µ¼ÈëexcelЧÂʽϸߣ¬¿ÉÅúÁ¿µ¼³ö£» ¸ü¶à¸üÏêϸµÄÓ÷¨£¬¿ÉÒÔ¿´£º http://pcedu.pconline.com.cn/empolder/gj/java/0608/853669_1.html
ʵÀý£º
´Ë¶Î´úÂëÓÃÓÚÉú³ÉexcelÎļþ
*/
WritableWor ......
1£®ÈçºÎѧϰ³ÌÐòÉè¼Æ£¿
JAVAÊÇÒ»ÖÖƽ̨£¬Ò²ÊÇÒ»ÖÖ³ÌÐòÉè¼ÆÓïÑÔ£¬ÈçºÎѧºÃ³ÌÐòÉè¼Æ²»½ö½öÊÊÓÃÓÚJAVA£¬¶ÔC++µÈÆäËû³ÌÐòÉè¼ÆÓïÑÔÒ²Ò»Ñù¹ÜÓá£Óбà³Ì¸ßÊÖÈÏ
Ϊ£¬JAVAÒ²ºÃCÒ²ºÃûʲô·Ö±ð£¬ÄÃÀ´¾ÍÓá£ÎªÊ²Ã´ËûÃÇÄÜ´ïµ½Èç´Ë¾³½ç£¿ÎÒÏëÊÇÒòΪ±à³ÌÓïÑÔÖ®¼äÓй²Í¨Ö®´¦£¬Áì»áÁ˱à³ÌµÄ¾«Ë裬×ÔÈ»Äܹ»×öµ½Ò»Í¨°Ùͨ¡£
鍼 ......
instanceofÊÇJavaµÄÒ»¸ö¶þÔª²Ù×÷·û£¬ºÍ==£¬>£¬<ÊÇͬһÀණ¶«¡£ÓÉÓÚËüÊÇÓÉ×Öĸ×é³ÉµÄ£¬ËùÒÔÒ²ÊÇJavaµÄ±£Áô¹Ø¼ü×Ö¡£ËüµÄ×÷ÓÃÊDzâÊÔËü×ó±ßµÄ¶ÔÏóÊÇ·ñÊÇËüÓұߵÄÀàµÄʵÀý£¬·µ»ØbooleanÀàÐ͵ÄÊý¾Ý¡£¾Ù¸öÀý×Ó£º
¡¡¡¡String s = "I AM an Object!";
¡¡¡¡boolean isObject = s instanceof Object;
¡¡¡¡ÎÒÃÇÉùÃ÷ÁËÒ»¸öSt ......