Prev Next

Java / Generics

Difference between List<Object> and List<?>.

You may add a new Objects or its sub-type into List whereas you could only insert null into the List<?>

More Related questions...

Show more question and Answers...


Comments & Discussions