Fork me on GitHub

2017年3月13日

循环语句

摘要: -----------siwuxie095 1、while 循环 执行流程: 如: 代码1: package com.siwuxie095.test; public class Test25 { public static ... 阅读全文

posted @ 2017-03-13 19:43 siwuxie095 阅读(119) 评论(0) 推荐(0) 编辑

switch语句

摘要: -----------siwuxie095 switch语句称为情况选择语句,又称开关语句 switch是分支语句的一种,用于对多种情况进行不同处理的语句 JDK1.7之前的switch语句限定对整型数据进行判断 使用格式: 如: 代码: package com.siwuxie09... 阅读全文

posted @ 2017-03-13 18:20 siwuxie095 阅读(2529) 评论(0) 推荐(0) 编辑

导航