You are attempting to assign an integer variable to a long variable, but Kotlin compiler flags it as an error. Why?
A. You must wrap all implicit conversion in a try/catch block
B. You can only assign Long to an Int, not the other way around
C. There is no implicit conversion from Int to Long
D. All integers in Kotlin are of type Long
Answer: Option C
Related Questions on Kotlin Program
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.
Which platform does Kotlin primarily target?
A. Python Bytecode
B. JavaScript
C. JVM (Java Virtual Machine) Bytecode
D. PHP

Join The Discussion