Category: generics

Can you pass an int array to a generic method in java?

I’m playing around with some code katas and trying to get a better understanding of java generics at the same time. I’ve got this little method that prints arrays like I like to see them and I have a couple of helper methods which accept an array of ‘things’ and an index and returns the […]