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 is the difference between static (class) method and instance method?
What is public static void main?
What is application system?
What is api in java?
How can we make copy of a java object?
Do I need java for windows 10?
How can we find the actual size of an object on the heap?
How to do a true java ping from windows?
Is array passed by reference in java?
What is a boolean in java?
What are different types of arrays?
Is java se free?
Why method overriding is used?
How does arraylist work in java?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?