23. Storage space in java is of the form
Stack
Queue
Heap
List
24. What is java code embedded in a web page known as
Applets
Servlets
scriptlets
snippets
25. Which of the following attributes are compulsory with
an <applet> tag?.
code,height & width.
26. What does 'CODEBASE' in an applet tag specify?.
Files absolute path.
Write a java program to find the route that connects
between Red and Green Cells.
General Rules for traversal
1. You can traverse from one cell to another
vertically, horizontally or diagonally.
2. You cannot traverse through Black cells.
3. There should be only one Red and Green cell and at
least one of each should be present. Otherwise the array is
invalid.
4. You cannot revisit a cell that you have already
traversed.
5. The maze need not be in the same as given in the
above example
152
how to use crystal reports in java
111
What are listeners in java and explain ?
191
What is files manifesting?
106
What is JDBC Driver interface?How can you retrieve data from
the ResultSet
We are seeing so many videos/audios as many web sited. But
question is these videos or audios are stored in Databases (
Oracle, Mysql, Sybase,... ) or stored any file directory
from there they will give the link for that? Pls explain and
give sample code to achieve this one? Thanks, Seenu.
Hi friends am new to java. I read jar file means collection
of java files. For executing struts application what are
the necessary jar files. " struts.jar " file contains
what. can u explain
21
Question 6 [9]
6.1 In what situations (in general) would you use a
TreeMap? (3)
6.2 In what situations (in general) would you use a HashSet
to store a collection of
values?
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.