Method to change the name of a thread - Core Java
Q. Which method is used to change the name of a thread?- Published on 22 Jul 15a. public String getName()
b. public void setName(String name)
c. public void getName()
d. public String setName(String name)
ANSWER: public void setName(String name)