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

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
主站蜘蛛池模板: 凌源市| 通城县| 沁水县| 正蓝旗| 游戏| 福海县| 威宁| 绥德县| 新津县| 武穴市| 建德市| 栾城县| 萨迦县| 株洲市| 和顺县| 岑溪市| 新津县| 凤台县| 平凉市| 洛扎县| 文成县| 黄龙县| 长兴县| 东方市| 临海市| 资中县| 宜宾市| 泾阳县| 巨鹿县| 虞城县| 桐梓县| 三穗县| 枣阳市| 西安市| 五家渠市| 深水埗区| 安新县| 凤城市| 舞钢市| 许昌市| 会同县|