Course contentsShow
Java
Lesson 905 of 2,87021. Generics FundamentalsPro lesson

The Diamond Operator: Type Inference

Using <> for cleaner instantiation: ArrayList<String> list = new ArrayList<>();

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.