Can someone explain to me what the point of templates in Java are? Since everything inherits from Object anyway, why template a list? Is it only to enforce the type?
Originally posted by: KingNothing
Can someone explain to me what the point of templates in Java are? Since everything inherits from Object anyway, why template a list? Is it only to enforce the type?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.