¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Writing a equals() method

Tate Johnson Computer Science Inglés 1 página

Contenido del apunte (1)

Página 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.

}

}

}

Información

Descripción
Computer Science Apunte sobre Writing a equals() method, creado por Tate Johnson el 27/04/2021.
Creado por
Tate Johnson
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?