Domanda di colloquio di Edelman Financial Engines

Do you prefer to use Thread class or Runnable to instantiate a thread?

Risposta di colloquio

Anonimo

2 mar 2010

I prefer Runnable coz ,in java i can implement multiple interfaces(Runnable on among them),but if i extend thread class i cant extend any other class(Since java does not support multiple inheritance)