Blogger

Delete comment from: Javarevisited

manju said...

Everybody talks about Thread vs Runnable stuff and suggests the coders to use Runnable interface for obvious reasons but I'm really interested about the reason behind allowing the Thread class to be extended. for most of the applications its very unlikely that we change the behavior of thread by extending the Thread class. They could have made the Thread class final just like how they did for String class or at least I want to know the kind of applications that forces the way Thread behaves in java. Could somebody shed light on it? :)

Sep 24, 2013, 11:26:34 AM


Posted to Difference between Thread vs Runnable interface in Java

Google apps
Main menu