Explanation: The getName() function is used to obtain the name of the thread , in this code the name given to thread is ‘New Thread’.
For what purpose we use getName () * A to get the name of thread B to get the name of a method C to get the name of the object D All of the above?
Explanation: The getName() function is used to obtain the name of the thread , in this code the name given to thread is ‘New Thread’.