JAVA±Ê¼Ç£¨Ò»£©
javaÓïÑÔÊǽâÊÍÖ´ÐУ¬javaÔ´ÂëÊÇͨ¹ý±àÒëÉú³ÉÒ»ÖÖÌØÊâµÄ.classµÄÖмä×Ö½âÂëÎļþ£¬È»ºóÔÙÓÐJVM½øÐнâÊÍÖ´ÐС£
javaÓïÑÔ¶ÔÖ¸Õë½øÐÐÁËÉϲãµÄ·â×°£¬Ëü±£Ö¤Äܹ»Í¨¹ýÕâ¸öÖ¸Õ루ÒýÓã©£¬À´·ÃÎÊÓÐЧµÄÄÚ´æµ¥Ôª¡£
javaÓïÑÔ²»ÔÊÐí¶à¼Ì³Ð£¬Ê¹¼Ì³Ð¹Øϵ³ÉÊ÷װͼ£¬Ã¿¸öÀ඼ֻÄÜÓÉÒ»¸ö¸¸Àà¡£
javaÓïÑԵĿª·¢Ð§Âʸߣ¬µ«Ö´ÐÐЧÂʵ͡££¨Ï൱ÓÚc++µÄ55%£©
javaµÄÀ¬»ø»ØÊÕ»úÖÆ£¬ÔÚjavaÖÐnewµÄ¶ÔÏó²»ÐèÒªÏòc++Ò»Ñù½øÐÐdelete²Ù×÷£¬JVM»á¸ù¾ÝÇé¿ö»ØÊÕÀ¬»ø¶ÔÏó¡££¨ÀÁºº»úÖÆ£¬µÈ´ý×ÊԴûÓеÄʱºò²Å»ØÊÕ£©ÎÒÃÇÖ»Äܹ»½¨ÒéJVM½øÐÐÀ¬»ø»ØÊÕ£¬ÀýÈ磨System.gc() RunTime.gc()ÕâÁ½¸ö·½·¨¾ÍÊǽ¨ÒéJVM½øÐÐÀ¬»ø»ØÊÕ
µÄ·½·¨£©
JDK£¬java¿ª·¢¹¤¾ß°ü£¨Àà¿âºÍÔËÐÐÃüÁ£¬JRE£¬javaÔËÐл·¾³£¬JVM£¬javaÐéÄâ»ú£¨½âÊÍÖ´ÐеĺËÐÄ£¬¶Ô×Ö½ÚÂë½øÐзÒë³ÉÔËÐл·¾³µÄ»úÆ÷Â룬Ëü¿ÉÒÔÆÁ±Îƽ̨²îÒì¡£JVMÊDz»¿çƽ̨µÄ¡££©
JAVA_HOME,Ö¸Ã÷JDK°²×°µÄλÖã¬CLASSPATH£¬Ö¸Ã÷ÀàÎļþµÄλÖã¬PATH£¬Ö¸Ã÷ÃüÁîµÄ¿ÉÖ´ÐÐÎļþµÄλÖá£
javaÔ´ÎļþµÄÎļþÃû±ØÐëºÍÎļþÖж¨Òåpublic classµÄÀàÃû£¨´óСдҳҪÏàͬ£©Ïàͬ¡£
javaÔ´´úÂëÖеÄmain·½·¨µÄ¶¨Òåд·¨¡£main·½·¨ÊdzÌÐòµÄÈë¿Ú¡£
public static void main(String[] args){
System.out.println("Hello world");
}
javaÔ´ÎļþÒ²ÒªÏȱàÒ룬ʹÓÃjavac xxx.java¸ñʽµÄÃüÁîµÃÀ´±àÒ룬ʹÓÃjava xxxÀ´ÔËÐС£
¶¨Òå°ü½á¹¹Òª·ÅÔÚÓÐЧ´úÂëµÄµÚÒ»ÐУ¬package xxx.xxx£¬°üµÄ¶¨ÒåÔÚÒ»¸ö³ÌÐòÖÐÖ»ÄÜÓÉÒ»¸ö£¬ÔÚ¼ÓÉÏ°ü¶¨ÒåÖ®ºó±àÒë¿ÉÒÔʹÓÃjavac -d ·¾¶ xxxx.java,Õâ¸ö-dÕâ¸öÃüÁîÐеIJÎÊý¿ÉÒÔÖ¸¶¨°ü½á¹¹µÄλÖÓ.”´ú±íµ±Ç°Ä¿Â¼¡£ÔÚÔËÐÐʱҪʹÓÃÀàµÄÈ«Ãû
java xxx.xxx.xxxxÓðüÃûÒÔµã·Ö¸ô¡£ÔËÐÐʱҪÔÚ°ü½á¹¹µÄÉÏÒ»²ãĿ¼À´ÔËÐС£
javaÖеÄ×¢ÊÍ£¬
µ¥ÐÐ×¢ÊÍ //......
¶àÐÐ×¢ÊÍ /* .......*/
Îĵµ×¢ÊÍ/** ........<p>(»»ÐбêÇ©)*/,ÓÃjavadocÃüÁî¿ÉÒÔ¸ù¾ÝÔÂëÖеÄÎĵµ×¢ÊÍÉú³É×¢ÊÍÎĵµ£¨html¸ñʽ£©¡£Îĵµ×¢ÊÍÖпÉÒÔʹÓÃhtml±êÇ©¡£
javadoc -d ·¾¶ £¨Ö¸¶¨×¢ÊÍÎĵµµÄ±£´æ·¾¶£©
Îĵµ×¢ÊÍÒ»°ãдÔÚÀඨÒå֮ǰ£¬·½·¨Ö®Ç°£¬ÊôÐÔ֮ǰ¡£
ÔÚÎĵµ×¢ÊÍÖпÉÒÔÓà @author ±íʾ³ÌÐòµÄ×÷Õߣ¬@version ±íʾ³ÌÐòµÄ°æ±¾£¬Ç°Á½¸ö×¢ÊÍ·ûºÅҪдÔÚÀඨÒå֮ǰ£¬ÓÃÓÚ·½·¨µÄ×¢ÊÍ@param ¶Ô²ÎÊý½øÐÐ×¢ÊÍ,@return ¶Ô·µ»ØÖµ½øÐÐ×¢ÊÍ @throws¶ÔÅ׳öÒì³£µÄ×¢ÊÍ¡£
jarÃüÁîÓÃÓÚ´òÒ»¸öxxx.jarÎļþ
Ó÷¨£ºjar {ctxu}[vfm0Mi] [jar-Îļþ] [manifest-Îļþ] [-C Ŀ¼]
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
char[] cha = operator.toCharArray();
char ch = cha[0];
double sum = 0;
switch (ch) {
&nb ......
java.lang
Àà Process
java.lang.Object
java.lang.Process
--------------------------------------------------------------------------------
public abstract class Processextends ObjectProcessBuilder.start() ºÍ Runtime.exec ·½·¨´´½¨Ò»¸ö±¾»ú½ø³Ì£¬²¢·µ»Ø Process ×ÓÀàµÄÒ»¸öʵÀý£¬¸ÃʵÀý¿ÉÓÃÀ´¿ØÖ ......
±¾Õ¾(openjdk)ÏÖÔÚËùÁгöÀ´µÄ¾ÍÊÇHotSpotÐéÄâ»úµÄÔ´´úÂ룬¶øHotSpotÕýÊÇÄ¿Ç°ÊÀ½çÉÏjavaÐéÄâ»úµÄ×îºÃµÄʵÏÖ¡£
¡¡¡¡HotSpotµÄ»ù´¡´úÂëÊÇÐí¶àÈËÐÁÇÚÀͶ¯µÄ½á¾§£¬Õâ¸ö¹ý³ÌÆù½ñÒѳÖÐøÁ˳¬¹ý10ÄêµÄʱ¼ä£¨µ±È»Ê±¼ä³¤²¢²»Òâζ×ÅÒ»¶¨ºÃ£¬Ò»°ëÒ»°ë°É£©¡£ËùÒÔµ½ÏÖÔÚΪֹ£¬ËûµÄÌå»ýÊǺܴóµÄ¡£Óн«½ü1500¸öC/C++Í·ÒýÓúÍÔ´´úÂëÎļþ£¬Õû¸ ......
ÕâÊÇJAVAÖеÄÒ»¸ö×÷Òµ£¬
Ч¹ûͼ£º
»¿òÖй²ÓÐÁù¸öÇò£¬ËüÃÇÅöµ½Ç½Ö®ºóÄܹ»·´µ¯£¬¶øÇÒÏ໥Åöײ֮ºóÄÜÏ໥Åöײ¡£
ÒªÓõ½µÄ֪ʶ£º ......