Solution Review: Injecting a Method

Here’s the solution to the injecting a method challenge given in the previous lesson.

We'll cover the following

Solution

Let’s take a look at the solution code given below.

Get hands-on with 1200+ tech skills courses.