advantage of thread?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jvm a overhead?

627


Explain what is synchronization?

575


Why use POJO when I can use hashmap

2047


What are the sequence of steps to write pub or sub model kind of application?

1895


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

550






Explain the advantages and disadvantages of detached objects.

577


Java is fully object oriented languages or not?

542


Explain about local interfaces.

591


what are the advantages of JTA over JTS?

1671


What are callback interfaces?

592


Explain the difference between object state and behavior?

569


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

587


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

700


What is the map interface?

614


What are the purpose of introspection?

680