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

Describe activation process?

2068


What is the difference between the ‘font’ and ‘fontmetrics’ class?

641


Do I need to import javlang package any time? Why ?

629


What class is used to create Server side object ?

1676


What is the difference between the font and fontmetrics classes?

566






If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

572


What state does a thread enter when it terminates its processing?

611


What is the difference between a static and a non-static inner class?

598


What is Stream Tokenizer?

1732


what is handle?

1857


What is the difference between the session.get() method and the session.load() method?

604


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

590


Define aop(assepct oriented programing)?

644


What is the difference between java class and bean?

585


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

552