Duration: 15:26 minutes
Summary: In this video, we continue our discussion on generics and collections. We will talk about the generic type T. This discussion is somewhat similar to the discussion we've had with the wild card. In here, we start by creating three separate methods that print on the screen arrays of three different types (Integer, Double, and String). Then, we removed those methods and replace them with a single method that operates on the generic type T. We pass as a parameter an array of T. We declare the method with before the return type. This method will be able to print the three arrays. Using these type of methods will simplify the application design and reduce code.