摘要: switch多选择结构 switch语句中的变量类型可以是:byte、short、int、char、 string(jdk7才有) 同时case标签必须为字符串常量或字面量 例子 package com.le.base.com.le.base; public class demo07 { publi 阅读全文
posted @ 2022-02-07 21:30 勤学码虫 阅读(271) 评论(0) 推荐(0)