Java Threads Question:

What is the difference between process and thread?

Java Threads Interview Question
Java Threads Interview Question

Answer:

A thread is a separate path of execution in a program. A Process is a program in execution.


Previous QuestionNext Question
What is the difference between the methods sleep() and wait()?What is daemon thread and which method is used to create the daemon thread?