Is the thread a daemon?

Report a typo

Implement the function printIfDaemon, which accepts a Thread object and prints daemon if the thread is daemon or not daemon otherwise.

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

Create a free account to access the full topic