January 2018
Intermediate to advanced
434 pages
14h 1m
English
According to Kotlin’s documentation, some of the Kotlin keywords are valid identifiers in Java: in, object, is, and so on. If a Java library uses a Kotlin keyword for a method, you can still call the method, escaping it with the backtick (`) character.
The following are the keywords in Kotlin:
| package | as | typealias | class | this | super | val |
| var | fun | for | null | true | false | is |
| in | throw | return | break | continue | object | if |
| try | else | while | do | when | interface | typeof |
Read now
Unlock full access