What is Thread in Java?
Thread is an independent path of execution.
Difference between Thread and Process
The thread is a subset of Process, in other words, one process can contain multiple threads. Two process runs on different memory space, but all threads share same memory space.
How do you implement Thread in Java?
By extending java.lang.Thread class
By implementing java.lang.Runnable interface.
Which way of implementing Thread is better? Extending Thread class or implementing Runnable method?
Implementing Runnable is better because in Java we can only extend one class so if we extend Thread class we can not extend any other class while by implementing Runnable interface we still have that option open with us
What is the difference between start() and run() method of Thread class?
start() method is used to start newly created thread, while start() internally calls run() method
When you invoke run() as normal method, its called in the same thread, no new thread is started