Which is the correct declaration of an integer array with a size of 5?
A. val arrs[5]: Int
B. val arrs = IntArray(5)
C. val arrs: Int[5]
D. val arrs = Array<Int>(5)
Answer: Option B
A. val arrs[5]: Int
B. val arrs = IntArray(5)
C. val arrs: Int[5]
D. val arrs = Array<Int>(5)
Answer: Option B
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