0

can we change the name of main thread in Java?

in java we can change the name of other threads by using setName() method and retrieve it by using getName(). Is there any way to change and get the main thread name? I'm not sure if there might be any purpose for doing such thing I just got curious to know if it's possible

21st Jul 2019, 12:19 PM
salar vahidi
salar vahidi - avatar
3 Answers
+ 1
~ swim ~ thank you so much
21st Jul 2019, 4:13 PM
salar vahidi
salar vahidi - avatar