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

java ¹Ø¼ü×Ö

 Java¹Ø¼ü×Ö£¨keywords£©
abstract    default    if            private      this
boolean     do         implements    protected    throw
break       double     import        public       throws
byte        else       instanceof    return       transient
case        extends    int           short        try
catch       final      interface     static       void
char        finally    long          strictfp     volatile
class       float      native        super        while
const       for        new           switch
continue    goto       package       synchronized
ÒÔÉÏÊÇjava specificationsÖж¨ÒåµÄkeywords£¬Ò»¹²48¸ö£¬ÆäÖг£¼ûµÄÈý¸ö¿´ËÆÊǹؼü×ÖµÄtrue, false, null,¶¼²»Êǹؼü×Ö£¬¶øÊÇ×÷Ϊһ¸öµ¥¶À±êʶÀàÐÍ¡£
ÆäÖУ¬²»³£Óõ½µÄ¹Ø¼ü×ÖÓУºconst£¬goto£¬native£¬strictfp£¬transient£¬volatile¡£
constºÍgotoΪjavaÖеı£Áô×Ö¡£
1. native
nativeÊÇ·½·¨ÐÞÊηû¡£Native·½·¨ÊÇÓÉÁíÍâÒ»ÖÖÓ


Ïà¹ØÎĵµ£º

Java¶àÏ̱߳à³ÌÏê½â

Ò»£ºÀí½â¶àÏß³Ì
¶àÏß³ÌÊÇÕâÑùÒ»ÖÖ»úÖÆ£¬ËüÔÊÐíÔÚ³ÌÐòÖв¢·¢Ö´Ðжà¸öÖ¸ÁîÁ÷£¬Ã¿¸öÖ¸ÁîÁ÷¶¼³ÆΪһ¸öỊ̈߳¬±Ë´Ë¼ä»¥Ïà¶ÀÁ¢¡£
Ïß³ÌÓÖ³ÆΪÇáÁ¿¼¶½ø³Ì£¬ËüºÍ½ø³ÌÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È£¬Çø±ðÔÚÓÚÏß³ÌûÓжÀÁ¢µÄ´æ´¢¿Õ¼ä£¬¶øÊǺÍËùÊô½ø³ÌÖеÄÆäËüÏ̹߳²ÏíÒ»¸ö´æ´¢¿Õ¼ä£¬ÕâʹµÃÏ̼߳äµÄͨÐÅÔ¶½Ï½ø³Ì¼òµ¥¡£ ......

JAVA´¦ÀíÈÕÆÚʱ¼ä³£Ó÷½·¨


Calendar ÀàÊÇÒ»¸ö³éÏóÀ࣬ËüΪÌض¨Ë²¼äÓëÒ»×éÖîÈç YEAR¡¢MONTH¡¢DAY_OF_MONTH¡¢HOUR µÈ ÈÕÀú×Ö¶ÎÖ®¼äµÄת»»ÌṩÁËһЩ·½·¨£¬²¢Îª²Ù×÷ÈÕÀú×ֶΣ¨ÀýÈç»ñµÃÏÂÐÇÆÚµÄÈÕÆÚ£©ÌṩÁËһЩ·½·¨¡£Ë²¼ä¿ÉÓúÁÃëÖµÀ´±íʾ£¬ËüÊǾàÀúÔª£¨¼´¸ñÁÖÍþÖαê׼ʱ¼ä 1970 Äê 1 Ô 1 ÈÕµÄ 00:00:00.000£¬¸ñÀï¸ßÀûÀú£©µÄÆ«ÒÆÁ¿¡£
Àý:
Calenda ......

java Õ»Óë¶Ñ ½ñÌìÕæÊÇѧϰÁË£¡£¡

³ö´¦£ºÀ´Ô´ÓÚCSDN ZangXT´óϺ¶Ôijƪ¹ØÓÚjavaÖÐÕ»Óë¶ÑµÄÎÄÕµĻظ´
´óÌå·ÖÎöÒ»ÏÂ
1. Õ»(stack)Óë¶Ñ(heap)¶¼ÊÇJavaÓÃÀ´ÔÚRamÖдæ·ÅÊý¾ÝµÄµØ·½¡£ÓëC++²»Í¬£¬Java×Ô¶¯¹ÜÀíÕ»ºÍ¶Ñ£¬³ÌÐòÔ±²»ÄÜÖ±½ÓµØÉèÖÃÕ»»ò¶Ñ¡£
//Õ»¶¼ÊÇÓÉÔËÐл·¾³À´´¦ÀíµÄ£¬Õâµã£Ã£«£«ºÍ£ê£á£ö£áûÓÐʲô²»Í¬£®¶ÔÓڶѣ¬²»¹ý£ê£á£ö£á¶àÁ˸ö£Ç£Ã£®
2.͉˕ ......

Java ÖÐÎÄÅÅÐò

/*¶Ô´«ÈëµÄÏòÁ¿½øÐÐÅÅÐò(°´ÕÕ²ÎÓëÕßÐÕÃûÅÅÐò)*/ public Vector[] Sort(Vector vtID, Vector vtName) {
Vector[] vt = {vtID, vtName};
String exChangeID = null;
String exChangeName = null;
//Comparator cmp = Collator.getInstance(java.util.Locale.CHINA);
......

java Native Method³õÉæ

 Ò». ʲôÊÇNative Method
   ¼òµ¥µØ½²£¬Ò»¸öNative Method¾ÍÊÇÒ»¸öjavaµ÷Ó÷Çjava´úÂëµÄ½Ó¿Ú¡£Ò»¸öNative MethodÊÇÕâÑùÒ»¸öjavaµÄ·½·¨£º¸Ã·½·¨µÄʵÏÖÓÉ·ÇjavaÓïÑÔʵÏÖ£¬±ÈÈçC¡£Õâ¸öÌØÕ÷²¢·ÇjavaËùÌØÓУ¬ºÜ¶àÆäËüµÄ±à³ÌÓïÑÔ¶¼ÓÐÕâÒ»»úÖÆ£¬±ÈÈçÔÚC£«£«ÖУ¬Äã¿ÉÒÔÓÃextern "C"¸æÖªC£«£«±àÒëÆ÷È¥µ÷ÓÃÒ»¸öCµÄº¯ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ