Course of Raku / Objects, I/O, and exceptions / Classes and objects / Roles

Exercises: Roles

This section contains 3 exercises.

  1. A sized box
  2. A named, aged pet
  3. A dancing robot

Refresh your knowledge

Refer to the contents of this section to find the answers if needed.

Course navigation

A sized box