what is the types of exception in kotlin?
Answers
Answered by
2
Answer:
All exception classes in Kotlin are descendants of the class Throwable . Every exception has a message, stack trace and an optional cause. throw Exception("Hi There!") There may be zero or more catch blocks.
hope it helps
plz mark me as brainliest
Similar questions