Solution 1: Go Generics

Let’s solve the challenge set in the previous lesson.

We'll cover the following

Solution

Here’s the modified code with the PrintMe() method:

Get hands-on with 1200+ tech skills courses.