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
Can a class declared as private be accessed outside it’s package?
What is the difference between logical data independence and physical data independence?
Can we change the scope of the overridden method in the subclass?
Is null or empty java?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Why do we use variables?
How do you write methodology?
Can we overload run() method in java?
Which collection allows duplicate values in java?
Is singleton a bad practice?
How do you achieve polymorphism in java?
Define linked list and its features with signature?
Is linkedlist thread safe in java?
What is the difference between stream and buffer?
What about instanceof operator in java?