Monday, June 17, 2019

Extending Abstract Classes With Abstract Classes in Java

The Example Issue

When I was creating the Java::Geci abstract class AbstractFieldsGenerator and AbstractFilteredFieldsGenerator, I faced a not too complex design issue. I would like to emphasize that this issue and the design may seem obvious for some of you, but during my recent conversation with a junior developer (my son, Mihály specifically, who also reviews my articles because his English is way better than mine), I realized that this topic may still be of value.

Anyway, I had these two classes, fields and filtered fields generator. The second class extends the first one:



from DZone.com Feed http://bit.ly/2KW5rPK

No comments:

Post a Comment