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

Thread life cycle?

3 Answers   TCS,


Explain the stub's and skeleton's functionality?

7 Answers  


Why RMI required an interface?

1 Answers  


What are the high-level thread states?

1 Answers  


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

0 Answers  






diff mvc1 and mvc2 wahts is mean by servlet chaining?

1 Answers   SolutionNET,


what is the RMI / IIOP?

3 Answers  


What is RRL?

1 Answers  


Difference between JRE and JVM?

3 Answers   HeadStrong, Infotech,


What are the methods used for inter-thread communication? and in what class these methods are defined?

2 Answers  


What is meant by multi-threading?

6 Answers  


How to do registration form using struts and hibernate?

1 Answers  


Categories