Does Kotlin have primitive types?

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.

Sizin İçin Seçtik  How do I write a program in Kotlin?

Leave a Reply

Your email address will not be published. Required fields are marked *