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

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.

主站蜘蛛池模板: 新沂市| 威远县| 麻阳| 罗甸县| 五大连池市| 长寿区| 尚义县| 淳安县| 潜江市| 华容县| 中宁县| 清苑县| 东丽区| 北川| 教育| 城步| 根河市| 辛集市| 农安县| 舒城县| 洱源县| 收藏| 古浪县| 大姚县| 炉霍县| 湖南省| 邳州市| 长武县| 项城市| 满城县| 莱芜市| 海林市| 兴义市| 舒兰市| 武冈市| 凤凰县| 达拉特旗| 同心县| 阳山县| 尉犁县| 五常市|