摘要:
1 package com.stx.zx.test; 2 3 public class T03 { 4 public static void main ( String[] args ) { 5 int i=0; //初始化条件 6 while (i<100){ //条件判断 7 System.ou 阅读全文
posted @ 2022-02-28 14:31
VVMgAI
阅读(25)
评论(0)
推荐(0)
摘要:
switch语句swit语句中的变量类型可以是:1.byte、short、int、char2.switch支持字符串String类型3.case标签必须为字符串常量或字面量 语句:switch(expression){ case value: 1 package com.stx.zx; 2 //ca 阅读全文
posted @ 2022-02-28 10:16
VVMgAI
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号