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

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
主站蜘蛛池模板: 共和县| 万源市| 北海市| 新巴尔虎右旗| 蕲春县| 金沙县| 昆明市| 武定县| 渭源县| 邯郸县| 密云县| 太湖县| 寿光市| 平南县| 五华县| 宜章县| 安塞县| 新民市| 金平| 正阳县| 巴南区| 上饶市| 阳原县| 伽师县| 布尔津县| 林芝县| 庐江县| 隆林| 什邡市| 嘉定区| 元阳县| 建瓯市| 南安市| 元阳县| 大竹县| 镇江市| 海原县| 宜州市| 塔河县| 平江县| 福泉市|