- 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.
推薦閱讀
- Cocos2D-X權(quán)威指南(第2版)
- Visual Basic程序設(shè)計(jì)(第3版):學(xué)習(xí)指導(dǎo)與練習(xí)
- 程序員考試案例梳理、真題透解與強(qiáng)化訓(xùn)練
- STM32F0實(shí)戰(zhàn):基于HAL庫(kù)開(kāi)發(fā)
- R的極客理想:工具篇
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- Android嵌入式系統(tǒng)程序開(kāi)發(fā):基于Cortex-A8(第2版)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)原理(第2版)
- 零基礎(chǔ)學(xué)HTML+CSS
- C語(yǔ)言程序設(shè)計(jì)實(shí)踐
- Java EE項(xiàng)目應(yīng)用開(kāi)發(fā)
- JavaWeb從入門到精通(視頻實(shí)戰(zhàn)版)
- 虛擬現(xiàn)實(shí):引領(lǐng)未來(lái)的人機(jī)交互革命
- Web前端開(kāi)發(fā)精品課:HTML5 Canvas開(kāi)發(fā)詳解
- 新手學(xué)ASP.NET 3.5網(wǎng)絡(luò)開(kāi)發(fā)