You are here
Home > Posts tagged "Type hierarchy"

Kotlin:Smart Casts and Function Return

Smart Casts and Function Return In this post we will discuss kotlin Smart Casts and function return value, Type hierarchy with example. Smart Casts In kotlin we check the type of instance using the is Kotlin compiler is more intelligent, then java compiler. Kotlin compiler remember type checks for us, implicitly

Range operator and NULL Safety

Range operator and NULL Safety In this post we will discuss Range operator and NULL safety in kotlin with example. Ranges The range operator has an interval it has start and end value. It is define using .. operator. The in operator is used to check whether a given value is there

Top