Why set do not allow duplicates in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How to stop a thread in java? Explain about sleep () method in a thread?

0 Answers  


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

0 Answers  


What is the dot operator?

0 Answers  


What is Java Reflection API? Why it’s so important to have?

0 Answers  


What is the purpose of return statement?

0 Answers  






class test { private static void main(String []adsf) { } } explain me that the above code is error or exception

3 Answers  


Is it possible to compare various strings with the help of == operator?

0 Answers  


How do you use equal in java?

0 Answers  


I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.

2 Answers   Oracle,


Is math an abstract class in java?

0 Answers  


Why is prepared Statement, Callable Statement used for? What is the need of Batch updates?

1 Answers   Logica CMG,


Differentiate between overriding and overloading cases?

0 Answers   Amdocs,


Categories