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