第2讲 Java语法基础(13)

2021-01-20 15:21

1.2 and Reserved Words 绪Keyword 论The following are keywords used to control the flow through a block of code: if Used to perform a logical test for true or false. else Executes an alternate block of code if an if test is false. switch Indicates the variable to be compared with the case statements. case Executes a block of code, dependent on what the switch tests for. default Executes this block of code if none of the switch-case statements match. for Used to perform a conditional loop for a block of code. while Executes a block of code repeatedly while a certain condition is true. do Executes a block of code one time, then, in conjunction with the while statement, it performs a test to determine whether the block should be executed again.

Java Programming, spring, 2012


第2讲 Java语法基础(13).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:C++ C语言 程序设计 简单的学生成绩管理系统

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: