Course of Raku / Objects, I/O, and exceptions / Classes and objects / Subroutines vs methods
Quiz — Subs vs methods
You have an object $dog whose class defines a method
bark. How do you call that method on the object?
| 0 | bark($dog) |
| 1 | $dog.bark |
| 0 | bark.$dog |
| 0 | $dog::bark |