filmov
tv
Java 'equals & hashCode' Contract | Design Principles

Показать описание
Java's "equals & hashcode" Contract![design]
What is the general contract of hashCode?
What is equals contract in Java?
What is the difference between == and equals and hashCode in Java?
Why do we override hashCode and equals?
Can two objects have the same hashCode?
______________________
______________________
If You Enjoyed The Video, Here’s More For You,
______________________
______________________
Chapters:
0:00 Introduction to video
0:37 Information PPT on equals() and hashcode() Contract
2:41 Actual example of class denoting POJO class
3:24 Main class creation and demo of example
6:13 Overriding of equals() method
10:44 Overriding of hashCode() method
14:05 Conclusion of video
______________________
About :
Java Tutorials Starting with basics and core concepts covered in detail.
How to gain mastery with strong foundation knowledge and diversify into a deeper depth of the language with a solid ground foundation
Stageswise starting from core to advanced level inculcation of topics is necessary.
Ongoing market changes remain constant but basics and core concepts should be good and eager to learn should one possess
-----------------------------------
#TechieMit #LearnFromTechie #javatutorial #LearnfromScratch #java #design
-----------------------------------------------------------
What is the general contract of hashCode?
What is equals contract in Java?
What is the difference between == and equals and hashCode in Java?
Why do we override hashCode and equals?
Can two objects have the same hashCode?
______________________
______________________
If You Enjoyed The Video, Here’s More For You,
______________________
______________________
Chapters:
0:00 Introduction to video
0:37 Information PPT on equals() and hashcode() Contract
2:41 Actual example of class denoting POJO class
3:24 Main class creation and demo of example
6:13 Overriding of equals() method
10:44 Overriding of hashCode() method
14:05 Conclusion of video
______________________
About :
Java Tutorials Starting with basics and core concepts covered in detail.
How to gain mastery with strong foundation knowledge and diversify into a deeper depth of the language with a solid ground foundation
Stageswise starting from core to advanced level inculcation of topics is necessary.
Ongoing market changes remain constant but basics and core concepts should be good and eager to learn should one possess
-----------------------------------
#TechieMit #LearnFromTechie #javatutorial #LearnfromScratch #java #design
-----------------------------------------------------------
Комментарии