So, which one should I actually use: an interface or an abstract class?It's a massive wall that everyone hits at least once while learning Java. That is the 'Interface vs Abstract Class' problem.When ...
(See Effective Java, "Prefer interfaces to abstract classes".) With sealed interfaces, library authors no longer have to choose between using polymorphism as an implementation technique, permitting ...