1.八進位制轉義序列:\ + 1到3位5數字;範圍'\000'~'\377'
\0:空字元
2.unicode轉義字元:\u + 四個十六進製制數字;0~65535
\u0000:空字元
3.特殊字元:就3個
\":雙引號
\':單引號
\\:反斜線
4.控制字元:5個
\' 單引號字元
\\ 反斜槓字元
\r 回車
\n 換行
\f 走紙換頁
\t 橫向跳格
\b 退格
點的轉義:. ==> u002e
美元符號的轉義:$ ==> u0024
乘方符號的轉義:^ ==> u005e
左大括號的轉義:{ ==> u007b
左方括號的轉義:[ ==> u005b
左圓括號的轉義:( ==> u0028
豎線的轉義:| ==> u007c
右圓括號的轉義:) ==> u0029
星號的轉義:* ==> u002a
加號的轉義:+ ==> u002b
問號的轉義:? ==> u003f
反斜槓的轉義: ==> u005c
Java中常用到的演算法題
1.遍歷出乙個資料夾下的所有檔案,並展示出層級關係,資料夾優先顯示,最後以一定格式寫入文字中 遞迴實現 遍歷出乙個資料夾下的所有檔案,並展示出層級關係,資料夾優先顯示,最後以一定格式寫入文字中 param args public static void main string args privat...
java開發中常用到小方法
arraylist轉陣列 獲取優惠券全部策略id string private string getstrategyidarraycache throws exception int rightstype businessemun.rightstype.優惠券.getvalue listresult...
java中常用到的一些小知識
轉化時間格式 string轉date string str 2007 1 18 11 12 13 dateformat dateformat new dateformat yyyy mm dd hh mm ss try catch parseexception e date格式自定義date ada...