Examveda

Does Kotlin have primitive data types, such as int, long, float?

A. No, not at language level. But the Kotlin compiler makes use of JVM primitives for best performance

B. Yes, but Kotlin internally always converts them to their non-primitive counterparts

C. No, Kotlin does not have nor use primitive data types

D. Yes, Kotlin is similar to Java in this respect

Answer: Option A


This Question Belongs to Computer Science >> Kotlin Program

Join The Discussion

Related Questions on Kotlin Program

What is Kotlin?

A. A new version of Java.

B. A JavaScript framework.

C. A statically-typed programming language for the JVM, Android, and browser.

D. A database management system.