Create and return a thread in the NEW state.
States of a thread
A thread in the NEW state
Report a typo
Write a program in Kotlin
import kotlin.concurrent.thread
fun createThreadInNewState(): Thread {
//implement the function
}
___
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.