Print the name of the TERMINATED thread

Report a typo

Implement a function that accepts an array of threads and prints the name of the thread in the TERMINATED state.

Write a program in Kotlin
fun printNameOfTerminatedThread(threads: List<Thread>) {
// implement the function
}
___

Create a free account to access the full topic