- 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.
推薦閱讀
- Spring 5企業(yè)級開發(fā)實(shí)戰(zhàn)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- C# Programming Cookbook
- Twilio Best Practices
- 實(shí)戰(zhàn)低代碼
- Go語言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(2)
- C指針原理揭秘:基于底層實(shí)現(xiàn)機(jī)制
- Mastering Concurrency Programming with Java 9(Second Edition)
- 深入淺出Python數(shù)據(jù)分析
- UX Design for Mobile
- Mastering XenApp?
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)
- Raspberry Pi Robotic Projects
- Python全棧開發(fā):數(shù)據(jù)分析
- 深入淺出Rust