java循环 1.if …else … 2. switch…case … 其中switch的参数只能是int,byte,short,char,string,enum类型 3. while… 和 do …while 4. for each