AlgoViz

Multiple inheritance

hard 50 min

A class with several parent classes gets the types, the methods and the fields of all of them.

Watch lesson4:37

What each level should show

The same question is judged differently for mid, senior and staff.

  • Junior

    Must show

    • Defines it with an example
    • Knows who supports it
    • Names the ambiguity

    Will be probed on

    • Java's way
    • What is a mixin?

    Stands out

    Splits type, behaviour and state.

  • Mid

    Must show

    • super follows the MRO
    • Cooperative constructors
    • Order of parents

    Will be probed on

    • Why keyword arguments?
    • Same promise or same word?

    Stands out

    Prints the MRO before guessing.

  • Senior

    Must show

    • Foreign classes by adapter
    • C++ layout in outline
    • Roles when a side can end

    Will be probed on

    • Test plan for a join
    • Virtual base

    Stands out

    Finds the clash that compiles.

  • Staff

    Must show

    • Rules that a checker can enforce
    • Migration to roles in steps
    • Framework design that makes wrong orders fail

    Will be probed on

    • Style guide
    • Tickets about order

    Stands out

    Counts join classes and retires them.