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.
Why do we use regex?
What is the difference between preparedstatement and statement in java?
________ exception must be either caught or specified in throws class of the method.
What is oop in java?
please send code example of inner classes?
Can we serialize static variables in java?
What is the format of Inner Class after it compiled?
Does a class inherit the constructors of its superclass in java programming?
Explain Event handling in AWT?
How does multithreading take place on a computer with a single cpu in java programming?
What are the OOAD concepts in java explain with examples?
What is array sorting in java?