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?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What are the design considerations while making a choice between using interface and abstract class?
Name three subclasses of the component class?
what are getters and setters in Java with examples?
Can we sent objects using Sockets?
Which javutil classes and interfaces support event handling?
Define aop(assepct oriented programing)?
Why use POJO when I can use hashmap
What are the purpose of introspection?
Why are component architectures useful?
What are the services in RMI ?
Difference between swing and awt?
What is permgen or permanent generation?
the same information whether it will connect to the database or it will be used previous information?