You have the following code:
var num1 = 10
var num2 = 50
num1 = num2.also { num2 -= num1 }
What will be the value of num2 after the code execution?
You have the following code:
var num1 = 10
var num2 = 50
num1 = num2.also { num2 -= num1 }
What will be the value of num2 after the code execution?
Create a free account to access the full topic