Examveda

How can you create a variable with the numeric value 5?

A. num = 5 int

B. int num = 5

C. num = 5

D. val num = 5

Answer: Option D


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.