Implement a method that takes an array of runnables. The method must start each runnable in a new thread.
Custom threads
Starting runnables
Report a typo
Write a program in Kotlin
fun startRunnables(runnables: Array<Runnable>) {
// implement the method
}
___
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.