Thread name

Report a typo

Implement the function getThreadName, which accepts a Thread object and returns its name.

Write a program in Kotlin
fun getThreadName(thread: Thread): String {
// implement logic
}
___

Create a free account to access the full topic