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

placement papaers of spring computing technology

0 Answers   Spring Computing Technologies,


What is java regex?

0 Answers  


How do you input a string in java?

0 Answers  


Can we use this () and super () in a method?

0 Answers  


What is collection sort in java?

0 Answers  






What are the advantages of compiled language?

0 Answers  


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

0 Answers  


What is oop principle in java?

0 Answers  


what is generics in jdk1.5?

2 Answers   Bally Technologies,


What error occurs if a try-catch-finally statement sequence does not have a catch clause?

4 Answers  


What is an object in Java and what are its benefits?

4 Answers   IBM,


What are different types of classloaders?

0 Answers  


Categories