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 does 0 mean in boolean?
What is a war file?
What is the difference between a method and a function in alice?
What is the console in java?
What is the replace tool?
Can list be null in java?
What things should be kept in mind while creating your own exceptions in java?
What is a locale?
Does java set allow duplicates?
What is a nested structure?
How is the marker interface used in Java?
How do you use compareto method?
How do you pass by reference?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What is meant by vector class, dictionary class, hash table class, and property class?