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 is data type example?
Which is bigger float or double java?
What is the syntax and characteristics of a lambda expression? Explain
What is boolean logic?
What are different types of control structures?
What is final?
What is thread?
What is an object in java and how is it created?
How Applets & Servlets will communicate with each other?
What is the difference between final, finally and finalize()?
How to create two different thread class inside a main function?
why java is not supporting multiple inheritence?