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...

Give a briefing on the life cycle of a thread.

Answer Posted / nashiinformaticssolutions

The life cycle of a thread includes five stages, as mentioned below.
1. New Born State
2. Runnable State
3. Running State
4. Blocked State
5. Dead State

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the given number is a prime number or not by getting input from the user

1029


What is close method? How it's different from Finalize & Dispose?

1000


What is abstract class constructor called?

956


What is connection class in java?

910


Can a private method be declared as static?

969


What is role of void keyword in declaring functions?

994


In how many ways we can create threads in java?

1138


Can we overload the methods by making them static?

947


Does treeset use compareto?

912


What is assembly condition codes?

940


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

1993


How we can execute any code even before main method?

1076


What is the maximum size of arraylist in java?

947


Explain about transient variables in java?

1038


Why do we need strings in java?

942