Thread Stop Java

You are the creator of the thread and you must have full control over the thread, either for inactivation and then again activation or killing. For Thread Stop or killing a thread, stop() method of Thread class is used. Following program illustrates on Thread Stop. public class Demo extends Thread { // d1 should be …

Thread Stop Java Read More »