hmlau
asked on
warning: stop() in java.lang.Thread has been deprecated
Hi All,
I'm beginner 4 Java,
I found this msg when I try to compile my code..
How could I solve this ?
Thank You.
I'm beginner 4 Java,
I found this msg when I try to compile my code..
How could I solve this ?
Thank You.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Careful there, interrupt() and stop() do very different things.
stop() is deprecated because it is error prone as mentioned in the javadoc.
ASKER
Hi objects,
May I know what is the difference between stop() and interrupt() ??
Thanks.