Infosys interview question

Difference between extending Thread and implementing Runnable?

Interview Answer

Anonymous

2 Jan 2026

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