I think that the method "iniciarSesion" could be improved without hardcoding. Thecould would be something like this:
public boolean iniciarSesion(String clave) {
return this.clave == clave;
}
So , in this way it´s compared between a value recieved by the "iniciarSesion" method and the setted value in the attribute clave.
Instructor, correct me if I´m wrong.
Greetings!!!!