I have a method to create a list of objects of class
public List initProducts(){ List product = new ArrayList();
product is a reference of List
product
List
List product = new ArrayList();
which doesn't have that method