What is the internal implementation of set in java?


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

Post New Answer

More Core Java Interview Questions

suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?

3 Answers  


What is variable and rules of variable?

0 Answers  


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

0 Answers  


Why is singleton not thread safe?

0 Answers  


How does predicate work in java?

0 Answers  






What is %d in printf?

0 Answers  


Why can't we make jsp as a controller and action servlet in struts?

8 Answers   TCS, Wipro,


What is null object in java?

0 Answers  


What is formatted output?

0 Answers  


What is the use of System class?

0 Answers  


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

0 Answers  


What is meant by serialisation and deserialisation?

4 Answers  


Categories