How to use custom class as Key in TreeMap| Interview questions on Map|TreeMap in java

preview_player
Показать описание
In this video am going to tell you, how to use custom class as key in TreeMap. You will also learn the internal working of treeMap.
Custom class in TreeMap, how to iterate over keys in map

#Java#interview question#Map#TreeMap#tutor#fun#collections in java#Map in java#Map#learn java#2020 #java skills
#Skills#java#learn on the go
Рекомендации по теме
Комментарии
Автор

can we implement comparable interface in the employee obj leaving the tree map constructor as empty??

krishnamohan