1)What is difference between comparable and comparator interface ?Why you need comparator when you have comparable interface ?
2)What is difference between ArrayList and Vector and LinkedList ?
You should be able to explain... the difference between them
and in what situation you prefer ArrayList over Vector.... or
When to use ArrayList over LinkedList ?
3)What is default cloning and difference between shallow and deep cloning in java ?
4)Why string is immutable and how to create immutable class in java ?
5)What is concurrentHashmap ?
6)How hashing related collections work ?
7)Difference between hashtable and hashmap, can we use hashmap in multithreaded scenario ?
No comments:
Post a Comment