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 if static is removed from main method?
Is treeset sorted in java?
Can we extend the String class?
What is a java developer salary?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is the meaning of variables in research?
How to create a base64 decoder in java8?
What is the alternate of 'Inheritance' ?
What does indexof return in java?
What is volatile data type?
Can we have any code between try and finally blocks?
What is the difference between an interface and an abstract class?