Difference between extending Thread and implementing Runnable?
Réponse à la question d'entretien
Utilisateur anonyme
2 janv. 2026
Extending Thread prevents you from extending any other class. Implementing Runnable is preferred because Java supports multiple inheritance through interfaces.