advantage of thread?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain the purposes of methods wait(), notify(), notifyAll ()?
What state does a thread enter when it terminates its processing?
Where can I ask questions and make suggestions about seam?
How will the struts know which action class to call when you submit a form?
Why JDBC has introduced
How to deploy Jar, War files in J2EE?
In real time project when will we use Abstract class. and what are the difference between abstract and interface.
6 Answers DELL, FCS, Polaris, Tanla Solutions, TCS,
What is the difference between RMI registry and OS Agent?
What is the difference between static and non-static with examples?
How can I scroll through list of pages like the search results in google?
java is fully object oriented languages or not? why?
difference between apllet and interface class