[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on ABC classes

On Thu, 22 Oct 2020 at 18:31, Julio Di Egidio <julio at> wrote:

> why
> only if there are abstract methods defined in an ABC
> class is instantiation disallowed?

Not sure because I never tried or needed, but if no @abstractsomething in A
is defined and your B class is a subclass of A, B should be an abstract
class, not a concrete class.