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 |
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.
Can a method be overloaded based on different return type but same argument type?
What are the differences between Java 1.0 and Java 2.0?
What is a Null object?
what is meant by Garbage collection?
java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
What is parsing a string?
What is operator?
Can a class be a super class and a sub-class at the same time? Give example.
How do you use final keywords and final variables in Java?
In how many ways we can the thread? in java
What is the meaning of flag day?