advantage of thread?

Answers were Sorted based on User's Feedback



advantage of thread?..

Answer / gaurav agrawal

our lines of code can be executed by many requests at a
time, this is the main advantage of the thread.
but the performance will slow down, so threading will be
used where it's needed.

Is This Answer Correct ?    16 Yes 1 No

advantage of thread?..

Answer / 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

advantage of thread?..

Answer / mohit tyagi

Thread is a small part of a program when a program enter in the executed state threads will be execute concurrently and maximum use of cpu.

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Advanced Java Interview Questions

Is the ternary operator written x : y ? Z or x ? Y : z ?

0 Answers  


What is the infobus?

0 Answers  


Is there a guarantee of uniqueness for entity beans?

0 Answers  


what is the diffrence between banking and insurance domain?

2 Answers  


How do u supress the parameters from the displaying in the url?

2 Answers  






Can I run seam outside of jboss as?

0 Answers  


Which javutil classes and interfaces support event handling?

0 Answers  


Which are the different segments of memory?

0 Answers  


What are transaction attributes?

0 Answers  


Is a class a subclass of itself?

0 Answers  


Explain the steps in details to load the server object dynamically?

0 Answers  


Explain RMI Architecture?

0 Answers  


Categories