Probably I'm being blind or something, but I can't seem to figure out how to do the following:
I have a Class called Shopping with a constructor like this:
Shopping shopping = new Shopping(String name, ArrayList <Shop> shops)
The class Shop is superclass for 4 types of sub-shops, and its constructor is something like this:
Shop shop = new Shop(String name, double area, double income)
My question is: when creating a Shopping instance I don't know what to write on the Array list part of the constructor, like I can create a
Shopping s1 = new Shopping("ABCDE", ?????? <- but don't know what to write here!!!)
Any help?