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 |
Differece between class and generic class?
What is the difference between yielding and sleeping?
Why pass by reference is not possible in java?
Can we write a class without main method in java?
What is left shift and right shift?
Explain importance of throws keyword in java?
what is collections in java?
What is an interoperable application in java ?
what is the difference between Java Command Line and C command Line?
Explain the significance of listiterator.
Why is logger singleton?
How can the checkbox class be used to create a radio button?