What is advantage of using threads?

Answers were Sorted based on User's Feedback



What is advantage of using threads?..

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

What is advantage of using threads?..

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

Post New Answer

More Core Java Interview Questions

State the difference between strings and arrays.

0 Answers   Syntel, Visa,


why interaction with server using javascript is difficult

1 Answers  


What is a numeric digit?

0 Answers  


Can we have a try block without catch block?

0 Answers  


Does java support function overloading, pointers, structures, unions or linked lists?

0 Answers  






Infinite loop using while ?

4 Answers  


What is the final method?

0 Answers  


What is a boolean structure?

0 Answers  


what is the meaning of java.lang and java.util

6 Answers  


What is a class in java?

0 Answers  


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


How many ways can we create singleton class?

0 Answers  


Categories