You are viewing a single comment's thread. Return to all comments →
My 2 cents in Java:
public <E> void printArray(E[] array) { for(E element: array) { System.out.println(element); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 21: Generics
You are viewing a single comment's thread. Return to all comments →
My 2 cents in Java: