摘要: Jdk1.7的新特性: 1,switch中可以使用字串 Java代码: String s = "test"; switch (s) { case "test" : System.out.println("test"); case "test1" : System.out.println("test1 阅读全文
posted @ 2016-03-08 17:40 starskyhu 阅读(564) 评论(0) 推荐(0) 编辑