Extends Thread vs Implements Runnable

It is a big question, even in interviews, which style of creation of thread is preferable. Explained in simple terms. Start reading. Thread creation styles There are two ways of creating threads – one by extending Thread class and the other by implementing Runnable interface. Now the discussion is which to prefer in normal situations. …

Extends Thread vs Implements Runnable Read More »