What does the following code print?
val numberOfOranges = 1000
var numberOfApples = numberOfOranges
numberOfApples = 2000
println(numberOfApples)
Write the result of the output.
What does the following code print?
val numberOfOranges = 1000
var numberOfApples = numberOfOranges
numberOfApples = 2000
println(numberOfApples)
Write the result of the output.
Create a free account to access the full topic