What is advantage of using threads?
Answers were Sorted based on User's Feedback
Answer / rajashree
a)lower context switching over head.
b)shared state:
allowed concurrent instance of the server to communicate
easily with each other
c)linux supports the POSIX thread standard
i)pthreads library.
ii)portable across most unix platform.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / yayati pavan kumar
Threads means part of a program which is in execution.That
means it's very easy to implement any large and complex
application by partitioning into threads. By this we can
save memory or storage.
we can decrease time of execution
It is very easy to test as the whole code partitioned into
parts and execute
| Is This Answer Correct ? | 8 Yes | 1 No |
What classes of exceptions, caught by a catch clause?
If we don’t want some of the fields not to serialize how to do that?
Is alive and join method in java?
what is java bean?where can we use it?
What are the pillars of java?
What is meant by 'bit masking' in java?
Is java call by value?
What is the structure of java?
What is assembly language?
To what value is a variable of the Boolean type automatically initialized?
What is a heavyweight component?
What is hard code & soft code?