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

Kotlin Basics

It's time to discover the fundamental building blocks in Kotlin. For those coming from a Java background, this chapter will highlight some of the key similarities and differences between Kotlin and Java, and how Kotlin's language features compare to those in Java and on the Java virtual machine (JVM). For those who are not Java programmers, these differences can be safely skipped.

In this chapter, we will cover the following topics:

  • Variables and values
  • Control flow and expressions
  • Type inference
  • Smart casting
  • Basic types and the Kotlin type hierarchy
  • Code contracts
主站蜘蛛池模板: 麦盖提县| 德保县| 陆良县| 东辽县| 灵川县| 邵阳县| 如东县| 石泉县| 万宁市| 吉安市| 栾城县| 三台县| 蓬安县| 南陵县| 区。| 夏邑县| 宜春市| 台湾省| 衡水市| 华蓥市| 富川| 舞阳县| 元江| 泰顺县| 施甸县| 临夏县| 嘉祥县| 峨眉山市| 海阳市| 汉寿县| 昭平县| 东莞市| 凤山市| 靖远县| 民乐县| 昔阳县| 镶黄旗| 四子王旗| 襄樊市| 常山县| 教育|