How many types of thread in java? give the name

Answer Posted / nikita

In java Threads are two types 1) user thread 2) Daemon Thread

Is This Answer Correct ?    31 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class be declared as static?

890


Why hashset is used in java?

741


What is the purpose of the finalize() method?

954


What does replaceall do in java?

687


What is final method?

820


Explain the importance of join() method in thread class?

849


How hashmap increases its size in java?

719


Why is the main method static?

880


Explain about the security aspect of java?

770


Which package is imported by default?

834


what is the constructor and how many types of constructors are used in java?

753


Can a class have multiple subclasses?

807


What is a variable simple definition?

793


What is the exception hierarchy in java?

728


Explain about object oriented programming and its features?

801