what is disadvantage of thread?

Answers were Sorted based on User's Feedback



what is disadvantage of thread?..

Answer / nag~1417

Threads also have some disadvantages:

Threads are not reusable as they are dependent on a process
and cannot be separated from the process.

Threads are not isolated as they don't have their own
address space.

The error cause by the thread can kill the entire process
or program because that error affects the entire memory
space of all threads use in that process or program.

Due to the shared resources by the threads with in the
process can also affect the whole process or program when a
resource damage by the thread.

For concurrent read and write access to the memory thread
will required synchronizations. Data of the process can
easily damage by the thread through data race because all
the threads with in the process have write access to same
piece of dat

Is This Answer Correct ?    35 Yes 2 No

what is disadvantage of thread?..

Answer / sehrish

IF ANY THREADS HAS PROB IT DISTRUBS WHOLE PROG AND IN
MULTITHREADING IT IS IMP TO TAKE GREAT CARE OF TIMMING

Is This Answer Correct ?    8 Yes 1 No

what is disadvantage of thread?..

Answer / niravan

threads :- all we know that -------
threads is a single line programe that run'S with entire
if any coding with threads are wrong then that entire
programe will be create a error durinG ruN time.

dis is the basic disadvantages of thread handling
programe....

Is This Answer Correct ?    11 Yes 6 No

Post New Answer

More Advanced Java Interview Questions

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

0 Answers  


Different between Struts and Spring? or Why use Spring, if you are already using Struts?

3 Answers   HP,


Why is actionform a base class rather than an interface?

0 Answers  


whats is mean by jndi

1 Answers   SolutionNET,


diff vector arraylist

4 Answers   Saka Solutions,






What is the difference between RMI and Socket?

2 Answers  


What is RMI architecture?

11 Answers   Infosys,


What is ioc concept & explain it?

0 Answers  


whats is stored procedure,joins

1 Answers   Photon,


If your ui seems to freeze periodically, what might be a likely reason?

0 Answers  


which book is better for jdbc ,servlets and jsp

0 Answers   TCS,


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  


Categories