GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Writing a equals() method

Tate Johnson Computer Science Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

public boolean equals(Object o) {

if ( o == null) {

return false;

}

else {

if (this.getClass() != o.getClass()) {

return false;

}

else {

return what ever needs to be returned in here to see if the two items are equal.

}

}

}

Informationen

Beschreibung
Computer Science Notiz am Writing a equals() method, erstellt von Tate Johnson am 27/04/2021.
Erstellt von
Tate Johnson
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck