Kotlin doesn’t have primitive type (I mean you cannot declare primitive directly). It uses classes like Int , Float as an object wrapper for primitives.
Kotlin doesn’t have primitive type (I mean you cannot declare primitive directly). It uses classes like Int , Float as an object wrapper for primitives.