What does this code return? val x = 3; if (x > 2) x = 4 else x = x*2
val x = 3; if (x > 2) x = 4 else x = x*2
6
an error
4
3