Abstract class with all concrete methods

abstract-class, java

Solution

Well you could be using a template method pattern where there are multiple override points that all have default implementations but where the combined default implementations by themselves are not legal - any functional implementation must subclass.

(And yes, I dislike the template method pattern ;))

Problem

Are there some practical programming situations for someone to declare a class abstract when all the methods in it are concrete?

Original source