Kotlin theorytheory 0/50 · 0%
OOP · easy

12. Visibility Modifiers

Scoping in Kotlin.

Kotlin has public, private, protected, and internal. Default is public.

Check your understanding

  1. 1. What is 'internal'?

  2. 2. Default modifier in Kotlin?