Implement the function getThreadName, which accepts a Thread object and returns its name.
Thread as object
Thread name
Report a typo
Write a program in Kotlin
fun getThreadName(thread: Thread): String {
// implement logic
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.