官术网_书友最值得收藏!

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
主站蜘蛛池模板: 犍为县| 宣武区| 禹州市| 女性| 阿勒泰市| 皋兰县| 大同市| 根河市| 临邑县| 五大连池市| 镇安县| 宁海县| 昌黎县| 南皮县| 台湾省| 衢州市| 黄冈市| 霍林郭勒市| 错那县| 瑞金市| 会昌县| 娄底市| 永登县| 汉沽区| 闸北区| 宁城县| 商河县| 什邡市| 千阳县| 德阳市| 红河县| 安溪县| 临沧市| 驻马店市| 疏勒县| 白朗县| 宁海县| 潞城市| 谷城县| 钦州市| 罗江县|