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

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.

主站蜘蛛池模板: 阿合奇县| 灵寿县| 平乡县| 化德县| 治多县| 桂东县| 北辰区| 临西县| 乌审旗| 宁明县| 修武县| 墨竹工卡县| 平邑县| 临猗县| 清水县| 雷州市| 息烽县| 个旧市| 蕉岭县| 乾安县| 岐山县| 紫云| 洛阳市| 洞口县| 壤塘县| 无锡市| 淮阳县| 东源县| 达孜县| 台东市| 甘南县| 贞丰县| 台北县| 新绛县| 大名县| 广汉市| 塔城市| 达孜县| 永吉县| 鲜城| 洪雅县|