A few difficulties with the below programme
Somebody please do explain this line in the Code ?
Code:
import java.util.*;
public class Gautam{
public static void main(String []a)
{
Integer[] iray={1,2,3,4,5,6};
Character[] bang={'G', ' ' , 'A',' ' ,'U', ' ' ,'T', ' ' ,'A',' ' ,'M'};
Float [] Fk={1.0f, 2.0f, 4.0f};
Double [] Google={3.3,4.5, 6.0, 9.0};
printMe(iray);
printMe(bang);
printMe(Fk);
printMe(Google);
}
public static <T> void printMe(T[] x)
{
for(T b: x)
System.out.printf("%s" , b);
System.out.println();
System.out.println();
}
}
Code:
public static <T> void printMe(T[] x)
Comment