Java <T> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java <T> ?

Can someone explain me what the hell is this <T>? :D I am seeing it in the Java-exercises and still can't figured it out how it works and for what it is. Is it just a declaration or initialisation of something?

2nd Nov 2017, 8:24 PM
Aleksandar Markov
Aleksandar Markov - avatar
1 Answer
0
it is <T> generic type.. just say Ok Google..
2nd Nov 2017, 8:28 PM
Игорь Богач
Игорь Богач - avatar