Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java-multithreading Tutorial
→
Java-multithreading Interview Questions in Java-multithreading Tutorial
→
What Is The Difference Between Thread And Process...
1.
What Is The Difference Between Thread And Process In Java?
Answer»
A process is a program in execution. It can also be defined as a
SELF
contained execution environment.
A Thread is a single task of execution within the process.
ONE
process can have multiple threads.
A process has its own
MEMORY
space.
A thread
USES
the process’s memory space and
SHARE
it with the other threads inside the process.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What Are Possible Use Cases For Java.lang.threadlocal?
What Is The Purpose Of The Class Java.lang.threadlocal?
Provide An Example Why Performance Improvements For Single-threaded Applications Can Cause Performance Degradation For Multi-threaded Applications.
What Is The Difference Between Hashmap And Hashtable Particularly With Regard To Thread-safety?
How Can We Access The Thread Pool That Is Used By Parallel Stream Operations?
Is It Possible To Perform Stream Operations In Java 8 With A Thread Pool?
What Is Time Slicing?
Name The Methods Available In The Thread Class.
Can You Tell Some Ways In Which A Thread Can Enter The Waiting State?
What Is The Difference Between Pre Emptive Scheduling And Time Slicing?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies