官术网_书友最值得收藏!

2. Learning the Basics

Overview

In this chapter, we will be executing programs that do not have the typical linear flow that we have seen so far. You will first learn to use if, else, else if, and switch-case statements to control the flow of your programs. You will practice running for, while, and do-while loops in order to perform repetitive tasks in Java, and how to pass command-line arguments to modify how programs run. By the end of this chapter, you will be able to implement immutable, static (global) variables, alongside Java's variable type inference mechanism.

主站蜘蛛池模板: 桦川县| 长寿区| 万全县| 景东| 濮阳市| 平昌县| 佳木斯市| 永顺县| 万全县| 深泽县| 庆元县| 巴彦淖尔市| 马尔康县| 夏津县| 镶黄旗| 日土县| 丰镇市| 新昌县| 来安县| 南涧| 宁都县| 余姚市| 尉氏县| 柳州市| 云龙县| 军事| 柘荣县| 中宁县| 京山县| 积石山| 枞阳县| 南召县| 色达县| 旺苍县| 三门县| 金秀| 如皋市| 辽宁省| 芷江| 长春市| 郴州市|