Kotlin Study Book (Kotlin)

I'm learning Kotlin at from umentu import stupid, so I'm summarizing what I learned.

Basic

object

Hello Kotlin on Mac Array List Set Map Range

Conditional branch

if statement when statement

loop

for statement while statement, do-while statement

function

Function definition Naming and default arguments Local Function Function that does not return Not value

Function object

Function object Higher-order function Lambda function Closer Anonymous function

object

Make an object Interface Properties

class

Create a class Properties (Custom Getter / Custom Setter) Constructor Secondary Constructor Initiator Class inheritance [Method inheritance] (https://www.blog.umentu.work/kotlin_method_inheritance/) Abstract class Data class

Null safe

Null Safety Smartcast Safe Call !! Operator / requireNotNull function Elvis operator

interface

Inheritance of interfaces and classes (https://www.blog.umentu.work/kotlin_interface_and_class/) Interface inheritance

application

Tail recursion with tailrec Create an object with an iterator

Recommended Posts

Kotlin Study Book (Kotlin)
About Kotlin
Kotlin Bytecode
Study policy
Kotlin infix
[Memo] JSUG Study Group 2020 Part 1 Spring x Kotlin
What Java inexperienced people did to study Kotlin