Finalizing

Report a typo

Modify the code below so that whether or not an exception occurs in the try block, the following text will be printed: Will be executed in any case.

Tip: Use finally.

Write a program in Kotlin
try {
throwException(data)
} catch (e: Exception) {
handleException(data)
}
___

Create a free account to access the full topic