From your comment :
"I tried to add date 1, but it wouldn't allow it. It says string can not be converted to date"
You are passing string to your constructor but looks like it can take java.util.Date object
Shopping shoplist1 = new Shopping ( "iphone", 2, date);
Change your constructor signature to take a String object
OR
Pass the date object and perform the formatting in any other relevant location