摘要: 首先通过代码,回顾下for循环的执行顺序: 代码摘自园友のんきネコ,如下:public class TestOrder { static boolean order(char c) { System.out.print(c); return true; } ... 阅读全文
posted @ 2015-10-12 19:24 normalpers 阅读(761) 评论(0) 推荐(0) 编辑
摘要: JAVA中常见转义字符: 1.八进制转义序列:\ + 1到3位5数字;范围'\000'~'\377' \0:空字符 2.Unicode转义字符:\u + 四个十六进制数字;0~65535 \u0000:空字符 3.特殊字符:就3个 \":双引号 \':单引号 \\:反斜线 4... 阅读全文
posted @ 2015-10-12 14:58 normalpers 阅读(243) 评论(0) 推荐(0) 编辑