Now ArrayCount addAll() calls its parent’s addAll() which internally calls the add() which has been OVERRIDEN by the Derived class.
Goodbye, Object Oriented Programming
Charles Scalfani
4.98K314
Shouldn’t this be considered a wrong design choice?
Shouldn’t this be considered a wrong design choice?