Answer Posted / may
set stores elements in an unordered way but does not
contain duplicate elements,where as it stores elements in
an ordered way but may contain duplicate elements.
Is This Answer Correct ? | 37 Yes | 4 No |
Post New Answer View All Answers
How will you compute size of a structure?
Why is java called java?
What is difference between array and vector?
Explain method local inner classes ?
What variables are stored in stack?
worst case complexities of Quick sort and Merge sort.
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
What is oop principle in java?
What is a memory leak in java?
Does sprintf add a null terminator?
What is the purpose of a transient variable?
What methodology can be utilized to link to a database?
Is java pass by value or pass by reference?
What is class level lock ?
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