Give a briefing on the life cycle of a thread.
Answer / 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 |
Can we overload the main() method?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What are the basic interfaces of java collections framework?
What are inbuilt functions in java?
Why we use set in java?
what is unreachable code problem in multiple catch statements
what is the replacement method of stop() of thread
Do loops java?
How do you take thread dump in java?
How many ways can you break a singleton class in java?
What methods are called, When we navigate from one applet to another applet?
Is binary a low level language?