Java examples for java.lang:int Array
Generic method to print array out
//package com.java2s; public class Main { public static <T> void print(T[] arr) { for (int i = 0; i < arr.length; i++) System.out.println("[" + i + "]=" + arr[i]); }//from w w w .jav a2s. c om }