Explain about sets?
No Answer is Posted For this Question
Be the First to Post Answer
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?
what is sendredirect?
What are the advantages of java?
What is the purpose of the runtime class in java programming?
Is there any sort function in java?
What is the difference between the file and randomaccessfile classes?
Difference between object and reference?
What do you understand by java?
What is flag in java?
What is floor math?
What are the loops in java?
What is a void return type?