Suppose we have an object of Thread inside the main method.
val thread = CustomThread()
thread.start()
thread.join()
// a lot of other statements
What happens if an uncaught exception occurs inside thread?
Suppose we have an object of Thread inside the main method.
val thread = CustomThread()
thread.start()
thread.join()
// a lot of other statements
What happens if an uncaught exception occurs inside thread?
Create a free account to access the full topic