Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What are the services in RMI ?

0 Answers  


How many JSP scripting elements and what are they?

4 Answers   TCS,


How is serialization used generally ?

3 Answers  


What are the types of data passing mechanisams under JMS specification?

1 Answers  


How can I avoid validating a form before data is entered?

0 Answers  


what is container?

3 Answers   Infosys, Infotech,


To what value is a variable of the string type automatically initialized?

0 Answers  


How many times may an objects finalize() method be invoked by the garbage collector?

0 Answers  


What is Lock Based Protocol and what is its use?

2 Answers   Wipro,


How to add new JTabbed pane?

1 Answers  


How to synchronize jsp page?

1 Answers   Infotech, TCS,


why we use main in java?

4 Answers  


Categories