what is use of threads how many ways to create thread

Answer Posted / poorna chandar rao.yerrabothu

thread is light whight processes its take low memory and low
proceesing time
there are two types thereds creatd
extending the thered class
implementing the runnable interface

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jagged array in java?

630


Explain jdk, jre and jvm?

657


What are the main differences between the java platform and other platforms?

611


What is difference in between java class and bean?

677


What happens when a thrown exception is not handled?

674






How to sort a collection of custom Objects in Java?

687


Why does java have two ways to create child threads?

559


How an object is serialized in java?

631


Is Java a dying language?

674


How do you implement singleton class?

616


What is hash code collision?

680


Is char a data type in java?

640


What are the restriction imposed on a static method or a static block of code?

680


What is classes in java?

596


what state does a thread enter when it terminates its processing? : Java thread

696