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

  • The Java Workshop
  • David Cuartielles Andreas G?ransson Eric Foster Johnson
  • 97字
  • 2021-06-11 13:05:19

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.

主站蜘蛛池模板: 阳山县| 永昌县| 革吉县| 杨浦区| 大丰市| 灵武市| 万年县| 栾城县| 社会| 延川县| 伽师县| 洛宁县| 平乡县| 太湖县| 普安县| 玉田县| 洞头县| 康乐县| 晋江市| 岳阳县| 三原县| 贺州市| 杭州市| 来宾市| 道孚县| 涿州市| 巨野县| 罗定市| 德昌县| 崇左市| 永仁县| 西乌珠穆沁旗| 新泰市| 剑川县| 化州市| 湖北省| 翁牛特旗| 浦城县| 淮安市| 香河县| 呈贡县|