Menu
×
×
Correct!

Exercise:

Create a variable named carName and print its value:

var carName = "Volvo" println(carName)
val carName = "Volvo" println(carName)
var carName = "Volvo" print(carName)
val carName = "Volvo" print(carName)

Not Correct

Click here to try again.

Correct!

Next ❯
 carName = "Volvo"
(carName)

    
  




Log in to keep your progress
Sign up to keep your progress

Completed 0 of 39 Exercises:

KOTLIN Syntax
KOTLIN Variables
KOTLIN Data Types
KOTLIN Operators
KOTLIN Strings
KOTLIN Booleans
KOTLIN If...Else
KOTLIN While Loops
KOTLIN Arrays
KOTLIN For Loops
KOTLIN Functions
KOTLIN Classes

×

Reset the Score?

This will reset the score of ALL 39 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 39 KOTLIN exercises.

Share your score: