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

  • 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.

主站蜘蛛池模板: 贞丰县| 孝昌县| 汾西县| 偏关县| 屏东市| 墨脱县| 兴国县| 宜宾市| 汉寿县| 蓬溪县| 曲靖市| 常宁市| 南昌县| 泰和县| 正定县| 如皋市| 吐鲁番市| 讷河市| 天气| 成都市| 崇左市| 万山特区| 曲靖市| 台山市| 刚察县| 平昌县| 新源县| 宜城市| 新巴尔虎左旗| 驻马店市| 轮台县| 抚宁县| 韶山市| 吉安市| 宜都市| 白城市| 广元市| 平陆县| 宝丰县| 湾仔区| 永定县|