You are viewing a single comment's thread. Return to all comments →
public void printArray(T[] list){ for(T type: list){ System.out.println(type); }
}
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 →
public void printArray(T[] list){ for(T type: list){ System.out.println(type); }