In Java inside the angle brackets <> for collections we are supposed to provide the generics like Integer, String, Character etc and we can't give primitives but this is a correct list/Collection initialization:
List<int[]> ls = new ArrayList<>();
An array of primitives can be defined as generic? Because as far as I know in Java <> are used to define generics. When I first saw that kind of initialization I was surprised and curious and didn't believe it.