Under which condition will a currently executing
thread stop?
a. When an interrupted exception occurs.
b. When a thread of higher prioriry is ready(becomes runnable)
c.When the thread creates a new thread
d. When the stop() method is called
Ans: a,b,d
Does a higher priority thread really cause the current method to stop running ? Or does this depend on thread scheduling policy ?
I can't seem to find the link to the discussion on 'stop'-ing a thread.
Maha anna, could u pls clarify 'stop' from the exam point of view again !