Pregunta de entrevista de M*Modal

For threading, there is Runnable and Thread, which is best to use when?

Respuesta de la entrevista

Anónimo

18 jun 2015

I struggled with this at first as I have limited exposure with threading. However, Runnable you can implement (interface) while thread you have to extend (inherit). By implementing Runnable, you can extend another class.