Course of Raku / Objects, I/O, and exceptions / Classes and objects / Introspecting objects / The inheritance chain

Quiz — Introspection

A class is declared as class Cat is Animal {}. What does Cat.^mro return?

0((Any) (Mu))
1((Cat) (Animal) (Any) (Mu))
0((Cat))
0((Animal) (Cat) (Any) (Mu))

Course navigation

The inheritance chain   |   Describe a class