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

What is Applet Flickering ?

1 Answers   Infosys, Persistent,


Does java support multiple inheritance or not?

0 Answers   Hexaware,


How will you load a specific locale?

0 Answers  


What are the principle concepts of oops?

0 Answers  


Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types

4 Answers   TCS,






why not override thread to make a runnable? : Java thread

0 Answers  


What is cr keyboard?

0 Answers  


What is a stringbuilder?

0 Answers  


What are the advantages of java inner classes?

0 Answers  


Can an unreachable object become reachable again?

3 Answers   DELL,


How can I debug the Java security exceptions and AccessControlExceptions?

0 Answers   IBM,


What is the immediate superclass of the Dialog class?

2 Answers  


Categories