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 |
What are the differences between heap and stack memory?
what is function overloading in java?
0 Answers Tavant Technologies, TCS, Virtusa,
How an object is serialized in java?
Tell me the programme for this @ 1 2 @ @ @ 1 2 3 4
5 Answers Accenture, iGate, IntoNET, Value Labs,
Why are getters and setters used?
What modifiers are used with an inner class which is a member of an outerclass?
Why main function is static?
What is OOP Language?
Can a java program have 2 main methods?
What are java packages?
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
What is covariant return type?