Howdy!
roberto nasel posted Today 08:19
Hi all!
I am new to this.
I see, your first posting.
Welcome to the Ranch!!
You have overridden the equals only in the sub class HasHash, but you are invoking the method in the super class:
HasHash ha1 = new HasHash(8);
superclass sc = new superclass(8);
sc.equals(ha1);
sc doesn't have an overridden equals method. Therefore no printing.
Yours,
Bu.