Exercise 1: Injecting a Method
Let's solve a challenge to test the skills of injecting a method into an instance.
We'll cover the following...
Problem statement
Let’s enhance the Set
class with a combine()
instance method. You are required to add the combine
method to the instances of the Set
class.