【单选题】在java中,以下程序编译运行后的输出结果为( )。 public class Test { public static void main(String[] args) { int a=5; int s=0; switch(a){ case 5: s=s+2; case 3: s=s+5; case 8: s=s+6; default: s=s+10; } System.out.p...
【单选题】在Java中,以下程序编译运行后的输出结果为( )。 public staticvoid main(String[] args) { int a = 5; int s = 0; switch (a) { case 5: s= s + 2; case 3: s = s + 5; case 8: s = s + 6; default: s = s + 10; break; } System.out.p...