Same common question what is Map,Set,HashMap,List????

Answers were Sorted based on User's Feedback



Same common question what is Map,Set,HashMap,List????..

Answer / dsr

Map,set ,List are collection interfaces.
HashMap is a collection class.

Is This Answer Correct ?    8 Yes 0 No

Same common question what is Map,Set,HashMap,List????..

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

Same common question what is Map,Set,HashMap,List????..

Answer / swetha

these are collection classes in java.

Is This Answer Correct ?    5 Yes 2 No

Same common question what is Map,Set,HashMap,List????..

Answer / swetha

these are collection classes in java.

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Core Java Interview Questions

What language is an assembler written in?

0 Answers  


what is meant by package in java?

5 Answers  


What is the best way to findout the time/memory consuming process?

0 Answers  


When will we use class loader?

2 Answers  


Are constructors methods?

0 Answers  






Similarity and difference between static block and static method ?

0 Answers  


What is meant by flickering?

0 Answers  


How do you identify independent and dependent variables?

0 Answers  


Can we create a constructor in abstract class?

0 Answers  


What is a dot notation?

0 Answers  


What is a Java package and how is it used?

2 Answers  


Can vector have duplicates in java?

0 Answers  


Categories