What is advantage of using threads?

Answer Posted / yayati pavan kumar

Threads means part of a program which is in execution.That
means it's very easy to implement any large and complex
application by partitioning into threads. By this we can
save memory or storage.

we can decrease time of execution
It is very easy to test as the whole code partitioned into
parts and execute

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a conditional statement explain with example?

545


How is a variable stored in memory?

534


Give few difference between constructor and method?

524


What is constructor in java ?

636


How do you use parseint in java?

515






What is a line break?

586


Explain an algorithm to find depth of a binary tree.

553


What is wrapper class html?

532


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

658


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

636


Is java an ide?

529


What is unmodifiable collection in java?

514


How do you write methodology?

566


Difference between static synchronization vs. Instance synchronization?

568


Explain about java sdk?

583