After a thread started, if the reference of the thread is set to null, what will happen to the thread? Does it stop? Is it eligible for GC?
Like this:
t.start();
t = null;
After a thread started, if the reference of the thread is set to null, what will happen to the thread? Does it stop? Is it eligible for GC?
Like this:
t.start();
t = null;