fixed and added an alt, not to be written
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// 8A. Write a java code for generic method [2]
|
||||
public class GenericMethod7{
|
||||
public class GenericMethod8A{
|
||||
public static <E> void printArray(E[] inputArray){
|
||||
for(E element :inputArray){
|
||||
System.out.printf("%s", element);
|
||||
|
||||
Reference in New Issue
Block a user