Number of apples

Report a typo

What does the following code print?

val numberOfOranges = 1000
var numberOfApples = numberOfOranges
numberOfApples = 2000
println(numberOfApples)

Write the result of the output.

Enter a number
___

Create a free account to access the full topic