I have a question I hope you can help me with:
I have an abstract class that contains some utility abstract methods, but I want these methods to be restricted only to subclasses, I obviously can't use a private modifier, but protected is not enough because in the same package there are also classes that don't extend it, but they can use these methods if the extended ones are instantiated in them:
What can I do? Thanks!