- Android Development with Kotlin
- Marcin Moskala Igor Wojda
- 116字
- 2021-07-02 18:48:33
Laying a Foundation
This chapter is largely devoted to the fundamental building blocks that are core elements of the Kotlin programming language. Each one may seem insignificant by itself, but combined together, they create really powerful language constructs. We will discuss the Kotlin type system that introduces strict null safety and smart casts. Also, we will see a few new operators in the JVM world, and many improvements compared to Java. We will also present new ways to handle application flows and deal with equality in a unified way.
In this chapter, we will cover the following topics:
- Variables, values, and constants
- Type inference
- Strict null safety
- Smart casts
- Kotlin data types
- Control structures
- Exceptions handling
推薦閱讀
- Mastering Visual Studio 2017
- 零基礎搭建量化投資系統:以Python為工具
- 網絡爬蟲原理與實踐:基于C#語言
- 算法訓練營:提高篇(全彩版)
- Modern JavaScript Applications
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- C語言程序設計實驗指導 (第2版)
- Protocol-Oriented Programming with Swift
- 單片機C語言程序設計實訓100例
- HTML 5與CSS 3權威指南(第3版·上冊)
- HTML5 APP開發從入門到精通(微課精編版)
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- JavaScript動態網頁編程
- 軟件測試綜合技術
- Android系統下Java編程詳解