Jul 14, 2024
Yes, I'll correct it. I included it as an example but should have specified it as such. Thanks for pointing that out.
I also have another tutorial waiting for publication about the Comparator interface, where I demonstrate using Comparator to implement the compareTo method.