Same common question what is Map,Set,HashMap,List????
Answers were Sorted based on User's Feedback
Answer / dsr
Map,set ,List are collection interfaces.
HashMap is a collection class.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / punit pannu
collection API:- Collection is a interface which contains three sub-interfaces list set and queue sub-interfaces.
1.List sub-interface: it contains three concrete classes
Arraylist
Vector and
Linkedlist
2. Set sub-interface:- it contains two classes
HashSet
LinkedHashSet
and one interface- SortedSet which contains one concrete
class - TreeSet
3. Map interface: it contains three concrete classes
HashMap
HashTable
LinkedHashMap
and one sub-interface
SortedMap
which contains one concrete class
TreeMap.
| Is This Answer Correct ? | 4 Yes | 0 No |
Does garbage collection occur in permanent generation space in jvm?
Why we need Finally with try? pls expain with ur example..
what is the main class of all the classes
how to make the double-tone class ? as we have singletone class..?
What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.
What is synchronization and why is it important in java programming?
How do you format in java?
What is memory leak and how does java handle it?
What is the difference between final, finally and finalize()?
What is an interface in java?
What is a website container?
Explain the difference between the Boolean & operator and the && operator?