How many types of thread in java? give the name

Answer Posted / swati

There are two types of thread in java.
1)-Single
2)- multi
By default one thread is running internally is main thread........

Is This Answer Correct ?    7 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you detect memory leaks?

576


Can a class be declared as static?

671


What is the difference between a scrollbar and a scrollpane?

552


Differentiate storage classes on the basis of their scope?

668


What is string immutability?

533






What is meant by class and object in java?

552


How to access arraylist elements in java?

486


Can a function return a function?

546


Explain the use of sublass in a java program?

594


What is difference between java and java ee?

549


Java is Pass by Value or Pass by Reference?

616


What is final keyword in java? Give an example.

574


how does multithreading take place on a computer with a single cpu? : Java thread

688


What are annotations in java?

619


What is the benefit of inner classes in java?

600