switch—case break 语句总结
public static void main(String args[]) { int s=0,n; for(n=0;n<4;n++) { switch(n) { default: s+=4; case 1: s+=1; break; case 2: s+=2; break; case 3: s+=3; } } Sy