Java Threads Question:

Download Job Interview Questions and Answers PDF

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.

Download Java Threads Interview Questions And Answers PDF

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?