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

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
主站蜘蛛池模板: 喜德县| 西宁市| 华阴市| 寿阳县| 沁源县| 大石桥市| 南溪县| 英山县| 宜兴市| 和顺县| 定西市| 德保县| 寿阳县| 南城县| 九台市| 文登市| 鄂伦春自治旗| 招远市| 得荣县| 壶关县| 信阳市| 宜川县| 浑源县| 温州市| 通山县| 湖南省| 定安县| 那坡县| 友谊县| 商城县| 资源县| 贞丰县| 股票| 龙井市| 华坪县| 乐昌市| 孟州市| 高邮市| 清苑县| 隆子县| 深水埗区|