• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

I want to have clear explanations about features in equal() method.

I want mainly to know why to use Null, hashcode.

javaequal
15th Jun 2020, 4:55 PM
Jovithe Ntwari
Jovithe Ntwari - avatar
1 Antwort
+ 1
The equals() method is used to check objects content and you can go through following links to get clear understanding.. https://www.google.com/amp/s/www.geeksforgeeks.org/difference-equals-method-java/amp/ https://stackoverflow.com/questions/3563847/what-is-the-use-of-hashcode-in-java https://www.google.com/amp/s/www.geeksforgeeks.org/internal-working-of-hashmap-java/amp/ https://stackoverflow.com/questions/21535029/what-must-be-hashcode-of-null-objects-in-java#:~:text=When%20p2%20is%20null%20%2C%20invoking,()%20as%20in%20this%20case.
20th Jun 2020, 9:41 AM
Nikhil Maroju
Nikhil Maroju - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Mobile number and similarity
1 Votes
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
GitHub account connecting issue
3 Votes
photo upload issue in html code
0 Votes
Algorithm to create maze-like grid
2 Votes
Coding issue
2 Votes
app for lessons
1 Votes
Alguém Português por aqui?
0 Votes
Hardware of computer
3 Votes