A method runis another method. If you call it directly, then it will be executed not in another thread, but in the current thread.
Here is my test TestRunnable:
class TestRunnable implements Runnable
{
public void run()
{
System.out.println("TestRunnable in " + Thread.currentThread().getName());
}
}
Output if only called start:
TestRunnable in Fred
Output if only called run:
TestRunnable in main
start , Thread . , Thread .
, : ()