Incase it doesn’t show up:

  • jaybone@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    2 months ago

    Say List is an interface.

    You have implementations like ArrayList and LinkedList.

    Many of those method implementations will differ. But some will be identical. The identical ones go in the abstract base class, so you can share method implementation inheritance without duplicating code.

    That’s why.