Kotlin - Data Types
Why does Kotlin use
Any as the universal base type instead of Java's Object?Any as the universal base type instead of Java's Object?Object allows null by default, Kotlin's Any is non-nullable by default.Any? to improve safety and reduce null pointer errors.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions