August 2017
Intermediate to advanced
440 pages
10h
English
Kotlin supports four types of visibility modifier (access modifiers)--private, protected, public, and internal. Kotlin does not support private Java modifiers. The main difference between a Kotlin and Java modifier is that the default visibility modifier in Kotlin is public, and it's not required to specify it explicitly, so it can be omitted for a particular declaration. All of the modifiers can be applied to various elements divided into two main groups based on their declaration site: top-level elements and nested members.
Read now
Unlock full access