Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many types of thread in java? give the name

Answer Posted / shekhar

There are two types of threads in java....

1. User threads: Which are created by the user program
itself. The example is the Main thread etc...

2. Daemon Threads: These threads are generated by the JVM
itself. They are service provider threads which run in the
background and are not used to run the application code.
The example is the Garbage Collection thread.

Is This Answer Correct ?    28 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by tab pans?

1331


What are the two basic ways in which classes that can be run as threads may be defined?

1126


What is the function of character?

1107


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

1020


What is the function of static in java?

1148


What are 3 boolean operators?

1050


What is 16 bits called?

986


What is the difference between compile-time polymorphism and runtime polymorphism?

1060


Can static method access instance variables ?

1182


Can an interface be defined inside a class?

1106


What is jar?

1174


How can the checkbox class be used to create a radio button?

1079


Why parameters should be passed by reference?

1008


What if static is removed from main method?

1108


In the below example, what will be the output?

1082