What if <T> isn't nullable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if <T> isn't nullable

I'm trying to implement a generic linkedlist like the lesson, but T type is not nullable. What can I do?

30th Dec 2018, 7:42 PM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
2 Answers
+ 1
I notice you said "like the lesson", can we know which lesson? Or can you show your code to us?
31st Dec 2018, 12:20 PM
Gordon
Gordon - avatar
0
Exact
25th Sep 2019, 2:58 PM
GalloJava
GalloJava - avatar