
Q7. Give a declaration for a variable that will 'store' an array of 5 Card objects.
this is my segment:
list = new int[5];
I don't know if it is right or wrong. So, kindly could you help me to be a master of Java I would be appreciate it.
thank you

Declare Array of 5 objects in the following way:
int list[]=new int[5];