Exercise 2: Go Generics

Let’s test our understanding by attempting this challenge.

We'll cover the following

Let’s practice what we’ve learned so far. The solution to this exercise will be provided in the next lesson.


Implement the two extra functions PrintStringsWithReflection and PrintStringsWithGenerics in reflection.go in order to support the printing of strings using reflection and generics, respectively.

Get hands-on with 1200+ tech skills courses.