Vidyalelo
Computer Science · Q184

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 184

Q184

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
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board