Comprehension

Report a typo

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?

Enter a number
___

Create a free account to access the full topic