Tuesday, January 21, 2014

Collections


              Can u write a custom ArayList such that u can add objects to it dynamically?

How does hashing work in general?How are the multiple values in value part stored internally?

When we write hashmap.get("key") what are the steps executed internally to get the value

If you have a list of Employee objects each having an id, name and salary, how will you sort them based on name,how will you do?

What is the difference between Comparable and Comparator in JAVA?

What sorting method does Collections.sort() use internally?

No comments:

Post a Comment