- 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.
推薦閱讀
- UNIX編程藝術(shù)
- Kibana Essentials
- Visual FoxPro 程序設(shè)計
- 跟老齊學(xué)Python:輕松入門
- C語言程序設(shè)計實(shí)踐教程
- 可解釋機(jī)器學(xué)習(xí):模型、方法與實(shí)踐
- Learning Concurrency in Kotlin
- Internet of Things with ESP8266
- Azure Serverless Computing Cookbook
- Red Hat Enterprise Linux Troubleshooting Guide
- 計算機(jī)應(yīng)用技能實(shí)訓(xùn)教程
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)
- Python機(jī)器學(xué)習(xí)
- Java EE互聯(lián)網(wǎng)輕量級框架整合開發(fā):SSM+Redis+Spring微服務(wù)(上下冊)
- R High Performance Programming