Answer Posted / madan
static block contains a code which is executed without
object of a class.i.e is excuted at the time of class
loading
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Write a code to show a static variable?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Explain about class in java?
What are keywords in java?
What is a qualifier in a sentence?
What are the methods to rectify ambiguities in the interfaces in JAVA?
How does the java compiler work?
Tell some latest versions in JAVA related areas?
What are bind parameters?
What are the differences between getting and load method?
What is instance means in java?
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.
Is array an object in java?
Explain how hashmap works?
Can you give few examples of final classes defined in java api?