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 |
what are RemoteObjects?
What do you need to set-up a cluster with jboss?
What restrictions are placed on the values of each case of a switch statement?
What are JTA/JTS and how they used by client?
How to add new JTabbed pane?
What is the difference between a menuitem and a checkboxmenuitem?
what is domain,give me some brief information about that?
what is the port number of RMI?
Difference between swing and awt?
Is a class a subclass of itself?
can we write implementation for a method with in another method?
Is System.err.println(""Statement"); is execute the output on console . Example: System.err.println("Hello JAVA");