Comparing objects with equals() method - Basic Java Fast (20)

preview_player
Показать описание
The video discusses the comparison two object contents by overriding the equals method. Mere equality check of two reference variables using two equal signs cannot compare the object contents. Downcasting from Object class is required, so that we can access the instance variables of the objects.

You'll learn most by trying my code while watching the video.

Playlist of my Java course

Playlist of my Java examples
Рекомендации по теме
Комментарии
Автор

you explain each and everything .... i appreciate your work.

shoaibtyagi
Автор

Dude watching your video before the an exam is not a good idea

depressedorange