Тёмный
No video :(

What will happen if you don't override hashcode method | java interview questions 

Pushpendra Gupta
Подписаться 717
Просмотров 13 тыс.
50% 1

Thanks for watching this video hope you liked the video and cleared your understanding.
Java interview questions
How hashmap works ?
what is hashcode method ?
what is the equals method ?
what is need to override equals method ?
what is need to override hashcode method ?
how is hashmap implemented ?
what will happen if you do not overide equals method ?
what will happen if you do not overide hashcode method ?
what will happen if equals method always return true ?
what will happend if hashcode method only return specific value ?
what is the contract between hashcode and equals method ?
what is new implementation of hashmap in java 8 ?

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@start1learn-n171
@start1learn-n171 3 месяца назад
Tq
@YashSingh-xs5yj
@YashSingh-xs5yj 11 месяцев назад
I understood some points that if we don't override hashCode() then an ambiguity arises because of which the Key's hash values won't be considered and hence all the 4 values was added into the HashMap even though the keys was duplicated.
@vikramrajawat5964
@vikramrajawat5964 Год назад
Boss ..speak in hindi.............topic will be cleard in a much better way
Далее
Аруси Точики ❤️❤️❤️
00:13
Просмотров 190 тыс.
Monitor long running sessions in oracle
7:01
Просмотров 3,7 тыс.
Merge Conflict in using intellij
3:07
Просмотров 220
"I use Debian BTW": fzf, tmux, zoxide and friends
23:46
Create Pull request from github
1:23
Просмотров 265
Аруси Точики ❤️❤️❤️
00:13
Просмотров 190 тыс.