- Kotlin Programming By Example
- Iyanu Adelekan
- 110字
- 2021-08-27 20:00:10
Controlling program flow
When writing programs, a scenario that often occurs is one in which we want to control how our program executes. This is necessary if we want to write programs that can make decisions based on conditions and program state. Kotlin possesses a number of structures for doing this, which will be familiar to people who have worked with programming languages in the past, such as if, while, and for constructs. There are also others that may not be familiar to individuals, such as the when construct. In this section, we will take a look at the structures at our disposal for controlling the flow of our program.
推薦閱讀
- CockroachDB權(quán)威指南
- PHP程序設(shè)計(慕課版)
- Magento 2 Theme Design(Second Edition)
- Unity Virtual Reality Projects
- Python Network Programming Cookbook(Second Edition)
- 實(shí)戰(zhàn)Java高并發(fā)程序設(shè)計(第3版)
- INSTANT Passbook App Development for iOS How-to
- Learning Apache Karaf
- 快速入門與進(jìn)階:Creo 4·0全實(shí)例精講
- Scala編程(第5版)
- Angular應(yīng)用程序開發(fā)指南
- 微課學(xué)人工智能Python編程
- Emotional Intelligence for IT Professionals
- Mastering Gephi Network Visualization
- ASP.NET 4.0 Web程序設(shè)計