Java Threads Question:

A Thread is runnable, how does that work?

Tweet Share WhatsApp

Answer:

The Thread class' run method normally invokes the run method of the Runnable type it is passed in its constructor. However, it is possible to override the thread's run method with your own.

Download Java Threads PDF Read All 38 Java Threads Questions
Previous QuestionNext Question
How does the run() method in Runnable work?Why not override Thread to make a Runnable?