List<?> x1= new ArrayList<>();
var x2= new ArrayList<>();
Here x1 is of type List and x2 of type ArrayList
In the book it is mentioned that, we can only assign x2 to a List<Object>.
This might be a potential error as x2 cannot accept List<Object>. Please confirm (x1 can be assigned though)