• + 0 comments
    class Printer
    {
       public <T> void printArray(T[] array) {
           for (T element : array) {
               System.out.println(element);
           }       
       }
    }