Would anyone please let me know why we convert the incoming argument of
Thread.setName() to a char array? Why can't we just store the incoming
argument to the name since String is immutable anyways?

Thanks,
-Xiaobin

Reply via email to