The primary difference is that
start()creates a new thread to execute code concurrently.run()directly executes the code synchronously on the current thread like any normal method call.
Loading…
The primary difference is that start() creates a new thread to execute code concurrently.
run() directly executes the code synchronously on the current thread like any normal method call.