Same common question what is Map,Set,HashMap,List????
Answer Posted / 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 |
Post New Answer View All Answers
can rmi and corba based applications interact ?
What are the different types of inheritance in java?
How does hashset works in java?
Why are generics used?
Which sorting algorithm is in place?
How do you write a conditional statement?
How do you create a sop?
Can an integer be a string?
What are internal variables?
Is java a pure object oriented language?
how come we know the object is no more used in the class?
What is thread safe singleton?
Explain about interrupt() method of thread class ?
Who developed java?
What is a two-pass assembler?