Answer Posted / prashant singh
cloneable interface is a marker interface,found in java.lang package.if we want to clone the object then we have to implement this interface.
if we do not implement it and try to make clone of object then CloneNotSupportedException is thrown.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is identifier with example?
What is an example of declaration?
Is space a char?
What is extension method in java?
What is a lock or purpose of locks in java?
What is java objectoutputstream?
What do you mean by platform independence? What is an interface?
What does isempty () do in java?
What is parsing and its types?
What is the difference between class & structure?
What is not object oriented programming?
What is difference between equal and == in java?
What is string builder in java?
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
what is singleton class in java?