You are viewing a single comment's thread. Return to all comments →
class Printer { public void printArray(Object[] genericArray){ for(Object element : genericArray){ System.out.println(element); } } }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Generics
You are viewing a single comment's thread. Return to all comments →