Any: Base class for all #Kotlin classes, like java.lang.Object but without wait() & notify() methods.
Unit: Represents no meaningful return. Unlike #Javaโs void, it's a singleton class in Kotlin.
Nothing: Used for functions that never return, such as those throwing exceptions.
Day 1 of #100DaysOfCode with @yourhyperskill
const val: Compile-time constants are evaluated at compile time, suitable for values that don't change, like API URLs or keys.
val: Runtime constants are evaluated at runtime, ideal for dynamic values like user locations.
I learned SQL and tried Kotlin with @yourhyperskill. I have never been so challenged, but I also had so much fun learning on this platform.
Now that they have introduced career paths for Kotlin, 2025 will finally be my year.
https://t.co/TxIMDkfz02
#LearnKotlinWithHyperskill