试题详情
单项选择题 程序: classTestApp{ public static void main (String[] args){ int X=5: switch (x){ case l: case 2: case 3: System. out.println(“一季度”); break; case 4: case 5: case 6: System. out.println(“二季度”); break;default:System. out.println(“三季度以上”); break; ) } ) 上述程序运行后的结果是哪项?()

A、一季度

B、二季度

C、三季度以上

D、无输出

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题