学习笔记4
摘要:Switch 的表达式可以为byte,short,int,char,JDK7之后的版本可以为string。 带标签的语句:可以直接跳出多层循环。 如: loop1 : for( int i=0;i<100;i++){ loop2 : for (int j=0;j<i;j++){ if (条件){ b
阅读全文
posted @ 2016-02-22 22:12
posted @ 2016-02-22 22:12
posted @ 2016-02-09 20:46
posted @ 2016-02-09 19:27
posted @ 2016-02-08 23:20