currentThread()

Naming a Thread in Java

The Thread class offers ways to modify and retrieve a thread's name.Each thread by default has a name, such as…

2 years ago