what is the difference between process and thread? : Java thread



what is the difference between process and thread? : Java thread..

Answer / Rahul Kumar Agarwal

A process is a program in execution, while a thread is a lightweight sub-process that can run concurrently within a single process. A process has its own address space and system resources, whereas threads share the same address space and resources as the parent process. In Java, a JVM can execute multiple threads within a single process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is scope of a variable?

1 Answers   TCS,


when to use abstract class and when to use interface?

16 Answers   Exterro, iGate, IonIdea,


define polymorphism in java

1 Answers  


What happens if an exception is not caught?

6 Answers   Amazon,


i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.

0 Answers  


What are the various access specifiers in java?

1 Answers  


What is the purpose of nested class in java?

1 Answers  


How to sort an unsorted array in java?

1 Answers  


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1 Answers  


What are the important features of Java 9 release?

1 Answers  


What are the Memory Allocations available in JavaJava?

1 Answers  


What is meant by collection in java?

1 Answers  


Categories