标签:
int i=3; switch(i) { case 1: System.out.println(1); break; case 2: System.out.println(2); break; case 3: System.out.println(3); break; default: System.out.println("default"); break; }
小语法
原文地址:http://www.cnblogs.com/xbblogs/p/4741796.html