What is the difference between Process and Threads?
Answer Posted / surabhee
Firstly,a process can contain multiple threads.
In multithreading operating systems, a process gets its own memory address space; a thread doesn't.
Threads typically share the heap belonging to their parent process.
Even though they share a common heap, threads have their own stack space.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Which component handles cluster communication in jboss?
Why are some of the class and element names counter-intuitive?
What is the argument type of a programs main() method?
Why are component architectures useful?
What restrictions are placed on the location of a package statement within a source code file?
Write a singleton program?
What is the purpose of the finally clause of a try-catch-finally statement?
Java is fully object oriented languages or not?
What is abstract schema?
What is the difference between system.out ,system.err and system.in?
What is a class loader? What are the different class loaders used by jvm?
What is local interface. How values will be passed?
What is the relationship between the canvas class and the graphics class?
If your ui seems to freeze periodically, what might be a likely reason?