1.

What Is The Difference Between Thread And Process In Java?

Answer»
  • A process is a program in execution. It can also be defined as a SELF contained execution environment. 
  • A Thread is a single task of execution within the process. ONE process can have multiple threads. 
  • A process has its own MEMORY space. 
  • A thread USES the process’s memory space and SHARE it with the other threads inside the process.



Discussion

No Comment Found