Will you be able to register?

Report a typo

We have a user registration function:

def register(client: String): Unit = {
  print("New registration:")
  throw Exception("Error!")
  println(client)
}

What will be printed in the console if we run this function with the following parameter?

register("Alice")
Select one option from the list
___

Create a free account to access the full topic