What will be printed on the following code execution:
lazy val risky: Int = {
println("Hi, Ken!")
throw RuntimeException()
}
println("Hi, Barbie!")What will be printed on the following code execution:
lazy val risky: Int = {
println("Hi, Ken!")
throw RuntimeException()
}
println("Hi, Barbie!")Create a free account to access the full topic