Answer Posted / ballu
i think java does not this in built facility ... you would
need to make sure that objects inserted in array are unique
( by overriding equals() and hash() method of Object class
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What do you mean by boolean?
How will you serialize a singleton class without violating singleton pattern?
Where will it be used?
What is the purpose of static methods and static variables?
Explain about map interface in java?
How does a for loop work?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Can you explain the meaning of aggregation and composition
What is javac used for?
what is the difference between the methods sleep() and wait()? : Java thread
Write a java program that prints all the values given at command-line.
How does hashset works in java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is parseint?
What is module with example?