@Override
    public boolean equals(Object obj) {
       
        boolean result = false;
        Cuentas cta = (Cuentas) obj;
        
       if(this == obj) result = true;
      
       if(obj == null || (this.getClass() != obj.getClass()))
           result =  false;
                 
       if ((this.id == cta.id) &&
           (this.balance == cta.balance) &&
           (this.idCliente == cta.idCliente) &&
           (this.nombresCliente == cta.nombresCliente))
           result = true;
       
       return result;
           
    }