Which of the following is the correct way to create a thread in Java?

Last Updated :
Discuss
Comments

Which of the following is the correct way to create a thread in Java?

Extending the Thread class

Implementing the Runnable interface

Both A and B

Using the Callable interface only

Share your thoughts in the comments