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

Ó²»Ø³µ¡¢Èí»Ø³µ¡¢javaתÒå×Ö·û

Èí»Ø³µ£¨Soft Return£©£ºÈí»Ø³µÊÇÔÚ×Ö´¦Àí³ÌÐòÖÐ×÷Ϊ×Ô¶¯ÒÆÐй¦ÄܵÄÒ»²¿·Ö×Ô¶¯²åÈëµÄ£¬Ò²½Ð»»Ðзû£¬ÔÚwordÖп´²»¼û¡£Èç¹ûÎı¾Ò»Ðеij¤¶È³¬¹ýÎĵµËù¶¨ÒåµÄÓұ߾àʱ£¬¼´µ±Ç°ÐÐûÓÐ×ã¹»µÄ¿Õ¼ä·ÅÖÃÏÂÒ»¸ö×Ö·ûʱ£¬ÎÄ×Ö´¦ÀíÈí¼þ½«ÔÚÕâÒ»ÐÐÎı¾µÄĩβ×Ô¶¯²åÈëÒ»¸öÈí»Ø³µ·û£¬Îı¾ÁíÆðÒ»ÐС£Õâ¸öÈí»Ø³µ·ûÊÇÓɱ༭³ÌÐò×Ô¶¯²úÉúµÄ£¬½Ð×öÈí»Ø³µ¡£µ±ÖØÐÂÉèÖÃÎĵµµÄÓұ߾ಢ×öÖØÐÂÅÅ°æʱ£¬Èí»Ø³µ³öÏÖµÄλÖþͻá×Ô¶¯¸Ä±ä¡£
ÔÚÍøÒ³Öа´Shift+Enter(»Ø³µ¼ü)ΪÈí»Ø³µ¡£↓
Ó²»Ø³µ£¨Hard Return£©£ºÓ²»Ø³µÊǶÎÂä±ê¼Ç£¬±íʾһ¸ö¶ÎÂ䣬Ҳ³Æ»Ø³µ·û¡£Ó²»Ø³µÊÇÓû§¼üÈëµÄ»Ø³µ·û£¬ËüÊÇʵ¼Ê²åÈëÕýÎĵķûºÅ¡£Ëüͨ³£°üÀ¨Á½¸ö×Ö·û£¬¼´·Ö±ð±íʾ»Ø³µºÍ»»ÐС£Èç¹ûÒªÔÚÎı¾¶ÎÂäµÄÄ©¶Ë»»ÐлòÕßÔÚÎı¾ÖÐÔö¼Ó¿ÕÐУ¬¿É°´»Ø³µ¼ü¡£Ó²»Ø³µÊÇÎļþµÄÒ»²¿·Ö£¬Ëü²»ÄÜ×Ô¶¯Ïû³ý£¬³ý·Çɾ³ýËü¡£
°´Enter(»Ø³µ¼ü)ΪӲ»Ø³µ¡£
¼òÑÔÖ®£¬Èí»Ø³µÊÇ×Ö´¦ÀíÈí¼þΪÁË»»ÐÐ×Ô¶¯²åÈëµÄ£¬¶øÓ²»Ø³µÊÇÓû§°´Enter¼ü¼üÈëµÄ»Ø³µ·û£¬ÊÇʵ¼Ê²åÈëÕýÎĵķûºÅ£¬ÊÇÎļþµÄÒ»²¿·Ö¡£
javaתÒå×Ö·û£º
\ddd 1µ½3λ8½øÖÆÊý¾ÝËù±íʾµÄ×Ö·û(ddd)
\uxxxx 1µ½4λ16½øÖÆÊýËù±íʾµÄ×Ö·û(xxxx)
\' µ¥ÒýºÅ×Ö·û
\\ ·´Ð±¸Ü×Ö·û
\r »Ø³µ
\n »»ÐÐ
\f ×ßÖ½»»Ò³
\t ºáÏòÌø¸ñ
\b Í˸ñ
javaÖпÉÒÔÓÃÁ½ÖÖ·½·¨±íʾӲ»Ø³µ£º
Ò».\r\n
¶þ.System.getProperty("line.separator")


Ïà¹ØÎĵµ£º

Java NIO APIÏê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

C++ÓëJavaµÄÇø±ðÏê½â:

1.JavaÔÚÐéÄâ»úÉÏÔËÐР
JavaÔ´´úÂë²¢²»ÊDZ»±àÒë³ÉΪÆÕͨµÄ»úÆ÷´úÂë¡£¶øÊDZ»·­Òë³ÉΪÐéÄâ»ú¿ÉÒÔÖ´ÐеĴúÂë¡£Ò»¸öJava½âÊÍÆ÷×îÖÕÖ´ÐÐÕâЩ´úÂë¡£ÕâÆäÖÐûÓÐÁ¬½ÓµÄ¹ý³Ì£»½âÊÍÔÚÐèÒªµÄʱºò¶¯Ì¬µÄ¼ÓÔØһЩÀࣻ 
2.JavaÊÇÍêÈ«ÃæÏò¶ÔÏóµÄ 
JavaÊÇÒ»ÖÖÍêÈ«ÃæÏò¶ÔÏóµÄÓïÑÔ¡£ÕâÒâζ×ÅÄã¶ÔÈκÎÒ»¸öJava¶ÔÏóËù×öµÄ¶ ......

java ¼ÆʱÆ÷

class NewTask extends java.util.TimerTask{
   private  String HOUR_MASK = "0";
      private String MIN_MASK = "0";
      private String SEC_MASK = "0";
      private int hour;
   private int min ......

JVMÐéÄâ»ú»ù´¡£ºJava¶ÔÏó´óСÓëÀàÐÍÏê½â

»ù±¾Êý¾ÝµÄÀàÐ͵ĴóСÊǹ̶¨µÄ£¬ÕâÀï¾Í²»¶à˵ÁË¡£¶ÔÓÚ·Ç»ù±¾ÀàÐ͵ÄJava¶ÔÏó£¬Æä´óС¾ÍÖµµÃÉÌȶ¡£
ÔÚJavaÖУ¬Ò»¸ö¿ÕObject¶ÔÏóµÄ´óСÊÇ8byte£¬Õâ¸ö´óСֻÊDZ£´æ¶ÑÖÐÒ»¸öûÓÐÈκÎÊôÐԵĶÔÏóµÄ´óС¡£¿´ÏÂÃæÓï¾ä£º
Object ob = new Object(); 
ÕâÑùÔÚ³ÌÐòÖÐÍê³ÉÁËÒ»¸öJava¶ÔÏóµÄÉúÃü£¬µ«ÊÇËüËùÕ¼µÄ ......

¸÷ÖÖÅÅÐòËã·¨JAVAʵÏÖ

public class Sort {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] arry = { 19, 10, 5, 45, 100, 30, 35, 29 };
int[] sortArry = mergeSort(arry);
for (int i = 0; i < sortArry.le ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ