What is the output of this code? And please explain I'm not able to understand.. Explain how this program works | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the output of this code? And please explain I'm not able to understand.. Explain how this program works

https://code.sololearn.com/cwlZWTnxUS80/?ref=app

5th May 2017, 6:17 AM
Aman Karnati
Aman Karnati - avatar
2 Answers
+ 6
My answer is the comment on your code =)
5th May 2017, 8:23 AM
Complex
Complex - avatar
0
In generics we can give only class names but I didn't create any T class.. what is that T class provided in the generics??
5th May 2017, 10:37 AM
Aman Karnati
Aman Karnati - avatar