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 the diff. b/w Interfaces & Abstract class?
What is string literal in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
Can we override constructor in java?
What is unmodifiable list in java?
If we don’t want some of the fields not to serialize how to do that?
What is computer compiler?
Is there any sort function in java?
What are the restrictions that are applied to the java static methods?
What is basic syntax?
Does java have a compiler?
What is strings in java?