Question d’entretien chez Bank of America

What are different ways to create threads in Java?

Réponse à la question d'entretien

Utilisateur anonyme

19 août 2011

There are 2 methods for creating threads in Java: 1-) Extending class Thread. 2-) Implementing interface Runnable. And in either case provide an implementation for the run method.

1