1. switch
(1)多个case 后边的数值是不可以重复的
(2)switch 后边的小括号只能存如下数据类型
a. 基本数据类型:byte/short/char/int
b. 引用数据类型:String字符串/enum枚举
(3)小括号中的值与case中的数据匹配直到遇到break或者整体结束为止
(1)多个case 后边的数值是不可以重复的
(2)switch 后边的小括号只能存如下数据类型
a. 基本数据类型:byte/short/char/int
b. 引用数据类型:String字符串/enum枚举
(3)小括号中的值与case中的数据匹配直到遇到break或者整体结束为止
引入依賴 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId>