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 are the characteristics of Final,Finally and Finalize keywords.
what is synchronization? : Java thread
Can java cast null?
What do you understand by weak reference?
Can a set contain duplicates?
What is integer valueof?
Difference between prefix and postfix forms of the ++operator?
there are some duplicate values in ArrayList, how U'll get that array with out duplicate?
How do you check whether the list is empty or not in java?
Can we override private constructor in java?
Give me some null interfaces in java?
What is multithreading ???? How to stop multithrading in java????