advantage of thread?

Answer Posted / vinay

basically You can make best use of your CPU, by ensuring that its always processing some or the other things. And threading makes the execution faster not slower as it divides the whole work into chunks and processes them parallel. finally unites then to give result. correct me if I am wrong.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by method chaining?

740


Is there a guarantee of uniqueness for entity beans?

644


Name the class that is used to bind the server object with RMI Registry?

1776


Are enterprise beans allowed to use thread.sleep()?

754


Why do threads block on i/o?

791






Which javutil classes and interfaces support event handling?

671


What classes of exceptions may be caught by a catch clause?

633


Define aop(assepct oriented programing)?

739


How many times may an objects finalize() method be invoked by the garbage collector?

754


How messaging services are done, before release of JMS?

1677


what is an isolation level?

2303


What is table mutation and how do you avoid it?

2001


How to pass parameters in RMI?

1815


What is the difference between RMI and Corba?

2369


What must a class do to implement an interface?

668