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

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.

主站蜘蛛池模板: 博湖县| 蒙阴县| 静海县| 巨野县| 丘北县| 潮州市| 泰宁县| 武宣县| 满城县| 龙井市| 佳木斯市| 绥芬河市| 嵩明县| 茌平县| 黔西| 麻城市| 澜沧| 崇礼县| 巢湖市| 青阳县| 江西省| 德化县| 阳江市| 阿巴嘎旗| 广饶县| 简阳市| 电白县| 开封县| 景东| 建德市| 会宁县| 江永县| 法库县| 山丹县| 鄂托克前旗| 青州市| 阳新县| 连山| 阳谷县| 吉隆县| 文安县|