Question: what is the difference between process and thread in java?
Answer: Process vs Thread: The process can be referred as program in execution whereas thread is part of process. Process has its own address space whereas multiple threads share same address space of process. ... Process can have multiple threads but thread is the smallest unit which can execute concurrently with other threads.