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

To identify IDL language what mapping mechanism is used?

3419


What is TL and its use?

1993


What value does readline() return when it has reached the end of a file?

596


What happens when a thread cannot acquire a lock on an object?

542


Is it possible to stop the execution of a method before completion in a sessionbean?

603






A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1815


What is the purpose of the notifyall() method?

613


whats is statement and procedure

1594


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

1930


Which textcomponent method is used to set a textcomponent to the read-only state?

637


Explain what is orm?

681


Where can I find seam examples and documentation?

569


How would you detect a keypress in a jcombobox?

678


How will you pass parameters in RMI? Why do you serialize?

703


What restrictions are placed on the values of each case of a switch statement?

538