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 |
What is scope of a variable?
when to use abstract class and when to use interface?
16 Answers Exterro, iGate, IonIdea,
define polymorphism in java
What happens if an exception is not caught?
i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.
What are the various access specifiers in java?
What is the purpose of nested class in java?
How to sort an unsorted array in java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What are the important features of Java 9 release?
What are the Memory Allocations available in JavaJava?
What is meant by collection in java?