fixed and added an alt, not to be written

This commit is contained in:
Aditya Tiwari
2026-01-29 15:24:10 +05:30
parent ae0a8eea5f
commit bf10bb1f53
4 changed files with 18 additions and 1 deletions

View File

@@ -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);