Frage im Vorstellungsgespräch bei Infosys

Difference between extending Thread and implementing Runnable?

Antwort im Vorstellungsgespräch

Anonym

2. Jan. 2026

Extending Thread prevents you from extending any other class. Implementing Runnable is preferred because Java supports multiple inheritance through interfaces.